setup.py 1.6 KB

1234567891011121314151617181920212223242526272829303132
  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__,__app_name__,__license__,__edition__
  9. def read(fname):
  10. return open(os.path.join(os.path.dirname(__file__), fname)).read()
  11. args = {
  12. "name":__app_name__,
  13. "version":__version__,
  14. "author":__author__,"author_email":"info@the-phi.com",
  15. "license":__license__,
  16. # "packages":["transport","info","transport/sql"]},
  17. "packages": find_packages(include=['info','transport', 'transport.*'])}
  18. args["keywords"]=['mongodb','duckdb','couchdb','rabbitmq','file','read','write','s3','sqlite']
  19. args["install_requires"] = ['pyncclient','duckdb-engine','pymongo','sqlalchemy','pandas','typer','pandas-gbq','numpy','cloudant','pika','nzpy','termcolor','boto3','boto','pyarrow','google-cloud-bigquery','google-cloud-bigquery-storage','flask-session','smart_open','botocore','psycopg2-binary','mysql-connector-python','numpy','pymssql','pyspark','pydrill','sqlalchemy_drill','plugin-ix@git+https://github.com/lnyemba/plugins-ix']
  20. args["url"] = "https://healthcareio.the-phi.com/git/code/transport.git"
  21. args['scripts'] = ['bin/transport']
  22. args['classifiers'] = ['Programming Language :: Python :: 3',
  23. 'License :: OSI Approved :: MIT License',
  24. 'Operating System :: OS Independent',
  25. ],
  26. # if sys.version_info[0] == 2 :
  27. # args['use_2to3'] = True
  28. # args['use_2to3_exclude_fixers']=['lib2to3.fixes.fix_import']
  29. setup(**args)