2019-09-17 04:08:43 +00:00
|
|
|
"""
|
|
|
|
This is a build file for the
|
|
|
|
"""
|
|
|
|
from setuptools import setup, find_packages
|
2019-09-17 16:53:44 +00:00
|
|
|
import os
|
2019-12-02 03:23:54 +00:00
|
|
|
import sys
|
2024-01-15 21:08:18 +00:00
|
|
|
# from version import __version__,__author__
|
2024-06-10 05:42:42 +00:00
|
|
|
from info import __version__, __author__,__app_name__,__license__
|
2024-01-15 21:08:18 +00:00
|
|
|
|
|
|
|
|
2019-09-17 16:53:44 +00:00
|
|
|
def read(fname):
|
|
|
|
return open(os.path.join(os.path.dirname(__file__), fname)).read()
|
2020-02-01 15:42:45 +00:00
|
|
|
args = {
|
2024-06-10 05:42:42 +00:00
|
|
|
"name":__app_name__,
|
2023-07-09 21:32:05 +00:00
|
|
|
"version":__version__,
|
2023-07-17 20:42:42 +00:00
|
|
|
"author":__author__,"author_email":"info@the-phi.com",
|
2024-06-10 05:42:42 +00:00
|
|
|
"license":__license__,
|
2024-04-01 20:41:39 +00:00
|
|
|
# "packages":["transport","info","transport/sql"]},
|
2024-04-01 21:08:19 +00:00
|
|
|
|
2024-04-01 21:09:51 +00:00
|
|
|
"packages": find_packages(include=['info','transport', 'transport.*'])}
|
2024-06-15 05:50:53 +00:00
|
|
|
args["keywords"]=['mongodb','duckdb','couchdb','rabbitmq','file','read','write','s3','sqlite']
|
|
|
|
args["install_requires"] = ['pyncclient','duckdb-engine','pymongo','sqlalchemy','pandas','typer','pandas-gbq','numpy','cloudant','pika','nzpy','boto3','boto','pyarrow','google-cloud-bigquery','google-cloud-bigquery-storage','flask-session','smart_open','botocore','psycopg2-binary','mysql-connector-python','numpy','pymssql']
|
2021-01-12 15:34:03 +00:00
|
|
|
args["url"] = "https://healthcareio.the-phi.com/git/code/transport.git"
|
2021-07-08 22:31:29 +00:00
|
|
|
args['scripts'] = ['bin/transport']
|
2024-04-23 18:00:14 +00:00
|
|
|
# if sys.version_info[0] == 2 :
|
|
|
|
# args['use_2to3'] = True
|
|
|
|
# args['use_2to3_exclude_fixers']=['lib2to3.fixes.fix_import']
|
2019-12-02 03:23:54 +00:00
|
|
|
setup(**args)
|