39 lines
1.6 KiB
Python
39 lines
1.6 KiB
Python
"""
|
|
This is a build file for the
|
|
"""
|
|
from setuptools import setup, find_packages
|
|
import os
|
|
import sys
|
|
def read(fname):
|
|
return open(os.path.join(os.path.dirname(__file__), fname)).read()
|
|
args = {
|
|
"name":"data-transport",
|
|
"version":"1.5.6",
|
|
"author":"The Phi Technology LLC","author_email":"info@the-phi.com",
|
|
"license":"MIT",
|
|
"packages":["transport"]}
|
|
args["keywords"]=['mongodb','couchdb','rabbitmq','file','read','write','s3','sqlite']
|
|
args["install_requires"] = ['pymongo','sqlalchemy','pandas','pandas-gbq','numpy','cloudant','pika','nzpy','boto3','boto','pyarrow','google-cloud-bigquery','google-cloud-bigquery-storage','flask-session','smart_open','botocore','psycopg2-binary','mysql-connector-python']
|
|
args["url"] = "https://healthcareio.the-phi.com/git/code/transport.git"
|
|
args['scripts'] = ['bin/transport']
|
|
if sys.version_info[0] == 2 :
|
|
args['use_2to3'] = True
|
|
args['use_2to3_exclude_fixers']=['lib2to3.fixes.fix_import']
|
|
setup(**args)
|
|
# setup(
|
|
# name = "data-transport",
|
|
# version = "1.0",
|
|
# author = "The Phi Technology LLC",
|
|
# author_email = "steve@the-phi.com",
|
|
# license = "MIT",
|
|
# packages=['transport'],
|
|
# keywords=['mongodb','couchdb','rabbitmq','file','read','write','s3'],
|
|
# install_requires = ['pymongo','numpy','cloudant','pika','boto','flask-session','smart_open'],
|
|
# url="https://dev.the-phi.com/git/steve/data-transport.git",
|
|
# use_2to3=True,
|
|
# long_description=read('README.md'),
|
|
# convert_2to3_doctests=['README.md'],
|
|
# #use_2to3_fixers=['your.fixers'],
|
|
# use_2to3_exclude_fixers=['lib2to3.fixes.fix_import'],
|
|
# )
|