소스 검색

bug fix: packaging and dependencies

Steve Nyemba 4 년 전
부모
커밋
1b63ad187e
3개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 3 3
      setup.py
  2. 1 1
      smart/logger/__init__.py
  3. 1 1
      smart/top/__init__.py

+ 3 - 3
setup.py

@@ -7,12 +7,12 @@ def read(fname):
     return open(os.path.join(os.path.dirname(__file__), fname)).read() 
 args    = {
     "name":"smart-top",
-    "version":"1.0.0",
+    "version":"1.0.2",
     "author":"The Phi Technology LLC","author_email":"info@the-phi.com",
     "license":"MIT",
-    "packages":["smart"]}
+    "packages":["smart","smart.top","smart.folder","smart.logger"]}
 args["keywords"]=['mongodb','couchdb','rabbitmq','file','read','write','s3','sqlite']
-args["install_requires"] = ['pandas','numpy','requests']
+args["install_requires"] = ['pandas','numpy','requests',"git+https://dev.the-phi.com/steve/git/data-transport"]
 args["url"] =   "https://dev.the-phi.com/git/steve/smart-top.git"
 #
 #@TODO:

+ 1 - 1
smart/logger/__init__.py

@@ -49,4 +49,4 @@ def log(**args) :
         store_type  = ".".join([args['store'],STORE_MAP[_id]])
         store_args  = args['params']
         store       = transport.factory.instance(type=store_type,args=store_args)    
-        store.write( args['row'])
+        store.write( args['row'])

+ 1 - 1
smart/top/__init__.py

@@ -53,7 +53,7 @@ class Util:
         return m 
     
            
-def read(args) :
+def read(**args) :
     """
     This function will perform the actual reads of process informations. 
     @return {user,pid,start,status, name, args, mem,cpu}