ymao 3 年之前
父節點
當前提交
c958c5d81e
共有 2 個文件被更改,包括 4 次插入1 次删除
  1. 3 0
      authen/werobot/__init__.py
  2. 1 1
      setup.py

+ 3 - 0
authen/werobot/__init__.py

@@ -1,7 +1,10 @@
 __version__ = '1.13.1'
 __version__ = '1.13.1'
 __author__ = 'whtsky'
 __author__ = 'whtsky'
 __license__ = 'MIT'
 __license__ = 'MIT'
+import sys
+import os
 
 
+sys.path.append(os.path.dirname(__file__))
 __all__ = ["WeRoBot"]
 __all__ = ["WeRoBot"]
 
 
 try:
 try:

+ 1 - 1
setup.py

@@ -4,7 +4,7 @@ from setuptools import setup, find_packages
 
 
 setup(
 setup(
     name='authen.werobot',
     name='authen.werobot',
-    version=0.11,
+    version=0.12,
     url='http://git.trops-global.com/authen/wxmp_utils.git',
     url='http://git.trops-global.com/authen/wxmp_utils.git',
     license='GPL',
     license='GPL',
     author='authen',
     author='authen',