Replies: 3 comments 3 replies
-
Please refer to |
Beta Was this translation helpful? Give feedback.
2 replies
-
First make sure the obfuscated scripts without pack could work, then enable pack and debug mode to check the log. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Please check |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My team already uses pyarmor and pyinstaller to obfuscate and package a commercial application to customers. We have a pyarmor group license.
The problem is that because our application uses a lot of large packages, e.g. scipy and numpy, the start time up time is slow because pyinstaller decompresses these packages these large packages at startup time.
To speed things up, we want to move away from packing and unpacking at runtime. We already have a spec file that collects our sources and all our dependencies into one directory. The spec file looks like something like this (take note of
include_py_files=True
-- this is how we copy our sources not just pyc files.):Besides being able to run our application runs successfully from this directory, there is the added benefit of being able to manually delete a whole bunch of unnecessary modules and directories that that pyinstaller has copied.
The only problem is that our sources are not obfuscated. This is the problem that we need help with. I have read the docs and tried so many things, too many to mention, but nothing seems to work. Here is my latest, best, attempt. Note that we don't obfuscate third party modules such as scipy and numpy because this is unnecessary and would take too long.
This indeed armors all our sources in
app_dir
in place; however when I run the application I get the error:Please advise.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions