You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
smart-top/setup.py

31 lines
1.0 KiB
Python

"""
"""
from setuptools import setup, find_packages
import os
import sys
import info
# def read(fname):
# return open(os.path.join(os.path.dirname(__file__), fname)).read()
args = {
"name":info.__app_name__,
"version":info.__version__,
"author":info.__author__,"author_email":"info@the-phi.com",
"license":info.__license__,
"packages":["smart","smart.top","smart.folder","smart.logger"]
}
args["keywords"]=['mongodb','couchdb','rabbitmq','file','read','write','s3','sqlite']
args["install_requires"] = ['typer','pandas','numpy','data-transport@git+https://github.com/lnyemba/data-transport.git']
args["url"] = "https://dev.the-phi.com/git/steve/smart-top.git"
args['scripts'] = ['bin/smart-logger']
# args['entry_point'] = {'console-scripts':['smart-top=smart-top:main']}
#
#@TODO:
# How to run this from the command line (and submit the data to [file,url,mongodb,couchdb,s3])
#
if sys.version_info[0] == 2 :
args['use_2to3'] = True
args['use_2to3_exclude_fixers']=['lib2to3.fixes.fix_import']
setup(**args)