setup.py 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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<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']
  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)
  27. # setup(
  28. # name = "data-transport",
  29. # version = "1.0",
  30. # author = "The Phi Technology LLC",
  31. # author_email = "steve@the-phi.com",
  32. # license = "MIT",
  33. # packages=['transport'],
  34. # keywords=['mongodb','couchdb','rabbitmq','file','read','write','s3'],
  35. # install_requires = ['pymongo','numpy','cloudant','pika','boto','flask-session','smart_open'],
  36. # url="https://dev.the-phi.com/git/steve/data-transport.git",
  37. # use_2to3=True,
  38. # long_description=read('README.md'),
  39. # convert_2to3_doctests=['README.md'],
  40. # #use_2to3_fixers=['your.fixers'],
  41. # use_2to3_exclude_fixers=['lib2to3.fixes.fix_import'],
  42. # )