Replies: 2 comments 2 replies
-
The wheel is build by yourself, please refer to wheel documentation to include package |
Beta Was this translation helpful? Give feedback.
0 replies
-
Just take the obfuscated scripts as normal scripts to build wheel, for any import issues, check the obfuscated scripts |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Please read this first before report any issue
https://pyarmor.readthedocs.io/en/latest/questions.html
Please copy the whole command line
pyarmor gen
and first 4 lines in the console, do not mask anything, and do not paste snapshot imageI am having issues when using pyarmor 8 edition in python 3.9.13 runtime when i try to distribute and reuse the obfuscated python package in a wheel format after following the steps outlined here:
https://pyarmor.readthedocs.io/en/stable/how-to/wheel.html?highlight=wheel
after building and generating the .whl file successfully, I am not able to reuse the python package and a module in a different environment (for my use case, databricks python runtime environment) as it gives an error that it cannot find the pyarmor_runtime_00000 module regardless of if i uses the -i flag or not during obfuscation and where I placed the pyarmor_runtime.pyd file in the pyarmor_runtime_00000 folder.
Error: 'No module named pyarmor_runtime_00000'
(see the screenshot for our package structure and some steps I followed).
However, when I use the pyarmor-7, it works seamlessly with databricks python runtime and works in all environments, it creates the _pytransform.dll file in the pytransform folder which works perfectly for my use case.
Question:
Beta Was this translation helpful? Give feedback.
All reactions