setup.py 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. # __author__ = 'The Phi Technology'
  9. # __version__= '1.8.0'
  10. def read(fname):
  11. return open(os.path.join(os.path.dirname(__file__), fname)).read()
  12. args = {
  13. "name":"data-transport",
  14. "version":__version__,
  15. "author":__author__,"author_email":"info@the-phi.com",
  16. "license":"MIT",
  17. "packages":["transport"]}
  18. args["keywords"]=['mongodb','couchdb','rabbitmq','file','read','write','s3','sqlite']
  19. args["install_requires"] = ['pymongo','sqlalchemy<2.0.0','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']
  20. args["url"] = "https://healthcareio.the-phi.com/git/code/transport.git"
  21. args['scripts'] = ['bin/transport']
  22. if sys.version_info[0] == 2 :
  23. args['use_2to3'] = True
  24. args['use_2to3_exclude_fixers']=['lib2to3.fixes.fix_import']
  25. setup(**args)
  26. # setup(
  27. # name = "data-transport",
  28. # version = "1.0",
  29. # author = "The Phi Technology LLC",
  30. # author_email = "steve@the-phi.com",
  31. # license = "MIT",
  32. # packages=['transport'],
  33. # keywords=['mongodb','couchdb','rabbitmq','file','read','write','s3'],
  34. # install_requires = ['pymongo','numpy','cloudant','pika','boto','flask-session','smart_open'],
  35. # url="https://dev.the-phi.com/git/steve/data-transport.git",
  36. # use_2to3=True,
  37. # long_description=read('README.md'),
  38. # convert_2to3_doctests=['README.md'],
  39. # #use_2to3_fixers=['your.fixers'],
  40. # use_2to3_exclude_fixers=['lib2to3.fixes.fix_import'],
  41. # )