setup.py 1.4 KB

123456789101112131415161718192021222324252627282930313233
  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 = {"name":"data-transport","version":"1.0.0","author":"The Phi Technology LLC","author_email":"info@the-phi.com","license":"MIT","packages":["transport"]}
  10. args["keywords"]=['mongodb','couchdb','rabbitmq','file','read','write','s3']
  11. args["install_requires"] = ['pymongo','numpy','cloudant','pika','boto','flask-session','smart_open']
  12. args["url"] = "https://dev.the-phi.com/git/steve/data-transport.git"
  13. if sys.version_info[0] == 2 :
  14. args['use_2to3'] = True
  15. args['use_2to3_exclude_fixers']=['lib2to3.fixes.fix_import']
  16. setup(**args)
  17. # setup(
  18. # name = "data-transport",
  19. # version = "1.0",
  20. # author = "The Phi Technology LLC",
  21. # author_email = "steve@the-phi.com",
  22. # license = "MIT",
  23. # packages=['transport'],
  24. # keywords=['mongodb','couchdb','rabbitmq','file','read','write','s3'],
  25. # install_requires = ['pymongo','numpy','cloudant','pika','boto','flask-session','smart_open'],
  26. # url="https://dev.the-phi.com/git/steve/data-transport.git",
  27. # use_2to3=True,
  28. # long_description=read('README.md'),
  29. # convert_2to3_doctests=['README.md'],
  30. # #use_2to3_fixers=['your.fixers'],
  31. # use_2to3_exclude_fixers=['lib2to3.fixes.fix_import'],
  32. # )