setup.py 1.6 KB

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