-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running pyconcrete in Electron. #55
Comments
Electron is JS framework right? As I know, PyInstaller or py2exe or others, which will package all .py into a zip file If you use python3 Need sometime to investigate it |
Yes, it is. I am trying to run some python modules as a child processes of ElectronJS. The reason I am trying to use pyconcrete here is because algorithms inside my python modules are quite important. I am trying to do the best encryption I can do with Python (even though Python is not a good language for code hiding) and pyconcrete is the best possible way I've found. So if PyInstaller(and other tools) is not compatible with pyconcrete, I guess I have to give up making them excutable and distribute Python and all dependencies seperately. Then I have another question here, If I start Python child process in electron, Is it cross-platform (Windows, Mac and Linux) to send system message "pyconcrete main.pye" to start a Python process? Will I need to run my Electron App as admin for it? |
system message "pyconcrete main.pye" to start a Python process?
pycocnrete doesn't need admin privilege to do execution |
You need to add pye files as data in pyconcrete config, so the compiled program can import them later. The version and password from your system pyconcrete install will be added to the compiled binary. |
I am trying to use Electron as a GUI to run python scripts inside as child-processes.
Would it be possible to encrypt all .py files to .pye then run it in Electron?
Since .pye file has to be executed by pyconcrete.exe, I am guessing that I have to include pyconcrete.exe and run the codes when the process starts.
I am trying to distribute Electron apps to the users who have no Python installed.
But then I have to compile python codes with PyInstaller, which doesn't seem to be possible with .pye files.
Is there any way to accomplish both pyconcrete encryption and making the codes executable in Electron?
The text was updated successfully, but these errors were encountered: