From 7784b5ad68cd81b6293abcdb0b7f5fe5b3dd3729 Mon Sep 17 00:00:00 2001 From: Steve Nyemba Date: Tue, 12 Dec 2023 12:08:03 -0600 Subject: [PATCH] bug fixes with setup --- setup.py | 21 +++++++++++---------- smart/__init__.py | 2 +- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/setup.py b/setup.py index 2553c5b..6aa169c 100644 --- a/setup.py +++ b/setup.py @@ -3,19 +3,20 @@ from setuptools import setup, find_packages import os import sys -import smart.info -def read(fname): - return open(os.path.join(os.path.dirname(__file__), fname)).read() +import info +# def read(fname): +# return open(os.path.join(os.path.dirname(__file__), fname)).read() args = { - "name":smart.info.__app_name__, - "version":smart.info.__version__, - "author":smart.info.__author__,"author_email":"info@the-phi.com", - "license":smart.info.__license__, - "packages":["smart","smart.top","smart.folder","smart.logger"]} + "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"] = ['pandas','numpy','requests','data-transport@git+https://github.com/lnyemba/data-transport.git'] +args["install_requires"] = ['pandas','numpy','requests','git+https://github.com/lnyemba/data-transport.git'] args["url"] = "https://dev.the-phi.com/git/steve/smart-top.git" -args['scripts'] = ['bin/smart-top'] +args['scripts'] = ['bin/smart-logger'] # args['entry_point'] = {'console-scripts':['smart-top=smart-top:main']} # #@TODO: diff --git a/smart/__init__.py b/smart/__init__.py index b8ebde7..8fe43f9 100755 --- a/smart/__init__.py +++ b/smart/__init__.py @@ -8,7 +8,7 @@ usage: dependencies : data-transport pip install git+https://dev.the-phi.com/git/steve/data-transport.git """ -import smart +# import smart import smart.top import smart.folder import smart.top