setup.py 1023 B

123456789101112131415161718192021222324252627
  1. """
  2. """
  3. from setuptools import setup, find_packages
  4. import os
  5. import sys
  6. def read(fname):
  7. return open(os.path.join(os.path.dirname(__file__), fname)).read()
  8. args = {
  9. "name":"smart-top",
  10. "version":"1.0.6",
  11. "author":"The Phi Technology LLC","author_email":"info@the-phi.com",
  12. "license":"MIT",
  13. "packages":["smart","smart.top","smart.folder","smart.logger"]}
  14. args["keywords"]=['mongodb','couchdb','rabbitmq','file','read','write','s3','sqlite']
  15. args["install_requires"] = ['pandas','numpy','requests','data-transport@git+https://healthcareio.the-phi.com/git/code/transport.git']
  16. args["url"] = "https://dev.the-phi.com/git/steve/smart-top.git"
  17. args['scripts'] = ['bin/smart-top']
  18. # args['entry_point'] = {'console-scripts':['smart-top=smart-top:main']}
  19. #
  20. #@TODO:
  21. # How to run this from the command line (and submit the data to [file,url,mongodb,couchdb,s3])
  22. #
  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)