setup.py 1.1 KB

123456789101112131415161718192021222324252627282930
  1. """
  2. """
  3. from setuptools import setup, find_packages
  4. import os
  5. import sys
  6. import meta
  7. # def read(fname):
  8. # return open(os.path.join(os.path.dirname(__file__), fname)).read()
  9. args = {
  10. "name":meta.__app_name__,
  11. "version":meta.__version__,
  12. "author":meta.__author__,"author_email":"meta@the-phi.com",
  13. "license":meta.__license__,
  14. "packages":["meta","smart","smart.top","smart.folder","smart.logger","smart.files"]
  15. }
  16. args["keywords"]=['mongodb','couchdb','rabbitmq','file','read','write','s3','sqlite']
  17. args["install_requires"] = ['typer','pandas','numpy','data-transport@git+https://github.com/lnyemba/data-transport.git',"plugin-ix@git+https://dev.the-phi.com/git/library/plugins"]
  18. args["url"] = "https://dev.the-phi.com/git/steve/smart-top.git"
  19. args['scripts'] = ['bin/smart-logger']
  20. # args['entry_point'] = {'console-scripts':['smart-top=smart-top:main']}
  21. #
  22. #@TODO:
  23. # How to run this from the command line (and submit the data to [file,url,mongodb,couchdb,s3])
  24. #
  25. if sys.version_info[0] == 2 :
  26. args['use_2to3'] = True
  27. args['use_2to3_exclude_fixers']=['lib2to3.fixes.fix_import']
  28. setup(**args)