data-transport/setup.py

43 lines
1.7 KiB
Python
Raw Normal View History

"""
This is a build file for the
"""
from setuptools import setup, find_packages
2019-09-17 16:53:44 +00:00
import os
2019-12-02 03:23:54 +00:00
import sys
2023-07-17 20:50:13 +00:00
from version import __version__,__author__
2023-07-17 20:42:42 +00:00
# __author__ = 'The Phi Technology'
# __version__= '1.8.0'
2019-09-17 16:53:44 +00:00
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
args = {
"name":"data-transport",
"version":__version__,
2023-07-17 20:42:42 +00:00
"author":__author__,"author_email":"info@the-phi.com",
"license":"MIT",
"packages":["transport"]}
2020-09-22 18:31:47 +00:00
args["keywords"]=['mongodb','couchdb','rabbitmq','file','read','write','s3','sqlite']
2023-11-11 16:37:32 +00:00
args["install_requires"] = ['pyncclient','pymongo','sqlalchemy<2.0.0','pandas','typer','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']
2021-01-12 15:34:03 +00:00
args["url"] = "https://healthcareio.the-phi.com/git/code/transport.git"
2021-07-08 22:31:29 +00:00
args['scripts'] = ['bin/transport']
2019-12-02 03:23:54 +00:00
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'],
# )