setup.py 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. """
  2. This is a build file for the
  3. """
  4. from setuptools import setup, find_packages
  5. #from healthcareio import version
  6. import meta
  7. import os
  8. import sys
  9. def read(fname):
  10. return open(os.path.join(os.path.dirname(__file__), fname)).read()
  11. args = {
  12. "name":"healthcareio","version":meta.__version__,
  13. "author":meta.__author__,
  14. "author_email":"steve.l.nyemba@vumc.org",
  15. "include_package_data":True,
  16. "license":meta.__license__,
  17. "packages":find_packages(),
  18. "keywords":["healthcare","edi","x12","analytics","835","837","data","transport","protocol"]
  19. }
  20. args["install_requires"] = ['typer','flask-socketio','seaborn','jinja2','jsonmerge', 'weasyprint','data-transport@git+https://healthcareio.the-phi.com/git/code/transport.git','pymongo','numpy','cloudant','pika','boto','botocore','flask-session','smart_open']
  21. args['url'] = 'https://hiplab.mc.vanderbilt.edu'
  22. args['scripts']= ['bin/healthcare-io']
  23. # args['entry_points'] = {
  24. # 'console_scripts' : ['healthcareio=healthcareio:register']
  25. # }
  26. if sys.version_info[0] == 2 :
  27. args['use_2to3'] = False
  28. args['use_2to3_exclude_fixers'] = ['lib2to3.fixes.fix_import']
  29. setup(**args)
  30. #setup(
  31. # name = "parse-edi",
  32. # version = "1.0",
  33. # author = "Vanderbilt University Medical Center",
  34. # author_email = "steve.l.nyemba@vanderbilt.edu",
  35. # license = "MIT",
  36. # packages=['edi'],
  37. # keywords=['healthcare', 'edi','x12','mongodb','couchdb','rabbitmq','file','read','write','s3'],
  38. # install_requires = [
  39. # 'data-transport@git+https://dev.the-phi.com/git/steve/data-transport.git',
  40. # 'pymongo','numpy','cloudant','pika','boto','flask-session','smart_open'],
  41. # url="https://hiplab.mc.vanderbilt.edu/tools",
  42. # use_2to3=True,
  43. # long_description=read('README.md'),
  44. # convert_2to3_doctests=['README.md'],
  45. # #use_2to3_fixers=['your.fixers'],
  46. # use_2to3_exclude_fixers=['lib2to3.fixes.fix_import'],
  47. # )