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