2016-06-09 21:05:58 -04:00
|
|
|
import imp
|
|
|
|
import os
|
2016-09-15 20:20:18 -04:00
|
|
|
import json
|
2015-09-05 12:23:46 -04:00
|
|
|
from setuptools import setup, find_packages
|
|
|
|
|
2016-09-15 20:20:18 -04:00
|
|
|
BASE_DIR = os.path.abspath(os.path.dirname(__file__))
|
|
|
|
PACKAGE_DIR = os.path.join(BASE_DIR, 'caravel', 'static', 'assets')
|
|
|
|
PACKAGE_FILE = os.path.join(PACKAGE_DIR, 'package.json')
|
|
|
|
with open(PACKAGE_FILE) as package_file:
|
|
|
|
version_string = json.load(package_file)['version']
|
2015-09-05 12:23:46 -04:00
|
|
|
|
|
|
|
setup(
|
2016-03-29 00:55:58 -04:00
|
|
|
name='caravel',
|
2015-09-05 12:23:46 -04:00
|
|
|
description=(
|
|
|
|
"A interactive data visualization platform build on SqlAlchemy "
|
|
|
|
"and druid.io"),
|
2016-09-15 20:20:18 -04:00
|
|
|
version=version_string,
|
2015-09-05 12:23:46 -04:00
|
|
|
packages=find_packages(),
|
|
|
|
include_package_data=True,
|
|
|
|
zip_safe=False,
|
2016-03-29 00:55:58 -04:00
|
|
|
scripts=['caravel/bin/caravel'],
|
2015-09-05 12:23:46 -04:00
|
|
|
install_requires=[
|
2016-08-30 00:55:31 -04:00
|
|
|
'celery==3.1.23',
|
2016-06-20 18:31:15 -04:00
|
|
|
'cryptography==1.4',
|
|
|
|
'flask-appbuilder==1.8.1',
|
2016-06-15 12:29:37 -04:00
|
|
|
'flask-cache==0.13.1',
|
|
|
|
'flask-migrate==1.5.1',
|
|
|
|
'flask-script==2.0.5',
|
|
|
|
'flask-testing==0.5.0',
|
2016-07-13 23:29:41 -04:00
|
|
|
'flask-sqlalchemy==2.0',
|
2016-06-15 12:29:37 -04:00
|
|
|
'humanize==0.5.1',
|
|
|
|
'gunicorn==19.6.0',
|
|
|
|
'markdown==2.6.6',
|
|
|
|
'pandas==0.18.1',
|
2016-03-01 17:23:54 -05:00
|
|
|
'parsedatetime==2.0.0',
|
2016-06-15 12:29:37 -04:00
|
|
|
'pydruid==0.3.0',
|
2016-08-30 00:55:31 -04:00
|
|
|
'PyHive>=0.2.1',
|
2016-06-15 12:29:37 -04:00
|
|
|
'python-dateutil==2.5.3',
|
|
|
|
'requests==2.10.0',
|
2016-06-11 23:39:25 -04:00
|
|
|
'simplejson==3.8.2',
|
2016-07-11 17:36:12 -04:00
|
|
|
'six==1.10.0',
|
2016-06-15 12:29:37 -04:00
|
|
|
'sqlalchemy==1.0.13',
|
|
|
|
'sqlalchemy-utils==0.32.7',
|
|
|
|
'sqlparse==0.1.19',
|
2016-08-30 00:55:31 -04:00
|
|
|
'thrift>=0.9.3',
|
|
|
|
'thrift-sasl>=0.2.1',
|
2016-06-15 12:29:37 -04:00
|
|
|
'werkzeug==0.11.10',
|
2015-09-05 12:23:46 -04:00
|
|
|
],
|
2016-06-02 15:34:36 -04:00
|
|
|
extras_require={
|
|
|
|
'cors': ['Flask-Cors>=2.0.0'],
|
|
|
|
},
|
2016-08-16 02:30:51 -04:00
|
|
|
tests_require=[
|
2016-08-16 02:38:05 -04:00
|
|
|
'codeclimate-test-reporter',
|
2016-08-16 02:30:51 -04:00
|
|
|
'coverage',
|
|
|
|
'mock',
|
|
|
|
'nose',
|
|
|
|
],
|
2015-09-05 12:23:46 -04:00
|
|
|
author='Maxime Beauchemin',
|
|
|
|
author_email='maximebeauchemin@gmail.com',
|
2016-03-29 00:55:58 -04:00
|
|
|
url='https://github.com/airbnb/caravel',
|
2015-09-05 12:23:46 -04:00
|
|
|
download_url=(
|
2016-09-15 20:20:18 -04:00
|
|
|
'https://github.com/airbnb/caravel/tarball/' + version_string),
|
2016-04-20 15:27:17 -04:00
|
|
|
classifiers=[
|
|
|
|
'Programming Language :: Python :: 2.7',
|
|
|
|
'Programming Language :: Python :: 3.4',
|
|
|
|
'Programming Language :: Python :: 3.5',
|
|
|
|
],
|
2015-09-05 12:23:46 -04:00
|
|
|
)
|