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'
 __author__ = 'whtsky'
 __license__ = 'MIT'
+import sys
+import os
 
+sys.path.append(os.path.dirname(__file__))
 __all__ = ["WeRoBot"]
 
 try:

+ 1 - 1
setup.py

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