"""
This is a build file for the 
"""
from setuptools import setup, find_packages
import os
import sys

def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read() 
args = {
    "name":"healthcareio","version":"1.4.2",
    "author":"Vanderbilt University Medical Center",
    "author_email":"steve.l.nyemba@vumc.org",
    "license":"MIT",
    "packages":find_packages(),
    "keywords":["healthcare","edi","x12","analytics","835","837","data","transport","protocol"]
}
args["install_requires"] = ['flask-socketio','seaborn','jinja2', 'weasyprint','data-transport@git+https://dev.the-phi.com/git/steve/data-transport.git','pymongo','numpy','cloudant','pika','boto','flask-session','smart_open','https://dev.the-phi.com/git/steve/monitor.git@data-collector']
args['url'] = 'https://hiplab.mc.vanderbilt.edu'
args['scripts']= ['healthcareio/healthcare-io.py']
# args['entry_points'] = {
#     'console_scripts'  : ['healthcareio=healthcareio:register']
# }

if sys.version_info[0] == 2 :
    args['use_2to3'] = False
    args['use_2to3_exclude_fixers'] = ['lib2to3.fixes.fix_import']
setup(**args)
#setup(
#    name = "parse-edi",
#    version = "1.0",
#    author = "Vanderbilt University Medical Center",
#    author_email = "steve.l.nyemba@vanderbilt.edu",
#    license = "MIT",
#    packages=['edi'],
#    keywords=['healthcare', 'edi','x12','mongodb','couchdb','rabbitmq','file','read','write','s3'],
#    install_requires = [
#        'data-transport@git+https://dev.the-phi.com/git/steve/data-transport.git',
#        'pymongo','numpy','cloudant','pika','boto','flask-session','smart_open'],
#    url="https://hiplab.mc.vanderbilt.edu/tools",
#    use_2to3=True,
#    long_description=read('README.md'),
#    convert_2to3_doctests=['README.md'],
#    #use_2to3_fixers=['your.fixers'],
#    use_2to3_exclude_fixers=['lib2to3.fixes.fix_import'],
#    )

