Ver código fonte

bug fixes with setup

Steve Nyemba 1 ano atrás
pai
commit
7784b5ad68
2 arquivos alterados com 12 adições e 11 exclusões
  1. 11 10
      setup.py
  2. 1 1
      smart/__init__.py

+ 11 - 10
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:

+ 1 - 1
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