Skip to content

Commit

Permalink
Fix #41: no library found
Browse files Browse the repository at this point in the history
  • Loading branch information
jondy committed Nov 30, 2018
1 parent efac3b8 commit ce940d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/config.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from distutils.util import get_platform

version = '4.5.0'
version = '4.5.1'

version_info = '''
Pyarmor is a tool used to import or run the encrypted python scripts.
Expand Down
2 changes: 1 addition & 1 deletion src/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def search_pytransform(path):
shutil.copy(src, path)
else:
raise RuntimeError('No library %s found' % src)
if not os.path.exists(dll_name + dll_ext):
if not os.path.exists(os.path.join(PYARMOR_PATH, dll_name + dll_ext)):
search_pytransform(PYARMOR_PATH)

import pytransform
Expand Down

0 comments on commit ce940d7

Please sign in to comment.