setup.py 1.1 KB

1234567891011121314151617181920212223242526272829
  1. """
  2. This is a build file for the
  3. """
  4. from setuptools import setup, find_packages
  5. import os
  6. import sys
  7. # from version import __version__,__author__
  8. from info import __version__, __author__
  9. # __author__ = 'The Phi Technology'
  10. # __version__= '1.8.0'
  11. def read(fname):
  12. return open(os.path.join(os.path.dirname(__file__), fname)).read()
  13. args = {
  14. "name":"data-transport",
  15. "version":__version__,
  16. "author":__author__,"author_email":"info@the-phi.com",
  17. "license":"MIT",
  18. "packages":["transport","info"]}
  19. args["keywords"]=['mongodb','couchdb','rabbitmq','file','read','write','s3','sqlite']
  20. args["install_requires"] = ['pyncclient','pymongo','sqlalchemy','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','numpy']
  21. args["url"] = "https://healthcareio.the-phi.com/git/code/transport.git"
  22. args['scripts'] = ['bin/transport']
  23. if sys.version_info[0] == 2 :
  24. args['use_2to3'] = True
  25. args['use_2to3_exclude_fixers']=['lib2to3.fixes.fix_import']
  26. setup(**args)