Replies: 1 comment
-
Please DO not add Pyarmor license files, like License files (license.lic) and capsule (.pyarmor_capsule.zip) to final bundle |
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
-
Hello everyone,
I'm encountering an issue while creating an executable for my Python project. I'm using PyArmor Pro for obfuscation and PyInstaller for packaging.
🔧 Steps followed:
Obfuscation with PyArmor:
.
Creating the executable with PyInstaller:
I use a custom .spec file that includes:
The obfuscated main.py file.
PyArmor runtime (pyarmor_runtime.pyd).
License files (license.lic) and capsule (.pyarmor_capsule.zip).
Additional resources like images, translations, and videos.
Obfuscated modules and helpers.
Keys and certificates.
Hidden imports for various libraries.
Runtime hooks to initialize JSON, SQLite, and PyArmor.
After executing these steps, the generated executable opens and closes immediately without displaying any errors, even in console mode.
❓ Questions:
Could this be an issue related to the PyArmor license?
Are there specific configurations to apply in the .spec file to ensure the proper functioning of the obfuscated executable?
Thanks in advance for your help!
Beta Was this translation helpful? Give feedback.
All reactions