pyconcrete icon indicating copy to clipboard operation
pyconcrete copied to clipboard

What is the best option to make a project portable with pyconcrete?

Open math-artist opened this issue 5 years ago • 4 comments

Hi, I am currently looking at the many options to protect my source code from being "easy" to reverse engineer.

I have some experience with pyinstaller, which can be really helpful to manage and simplify the packaging of many modules that I use, so I can quickly send a zipped folder to my customers, who usually have no programming knowledge of any kind.

Is there an option, or a hack / work-around to get pyconcrete to work as a stand-alone, without having Python installed on the computer?

math-artist avatar Oct 15 '19 21:10 math-artist

No, currently pyconcrete is not support work as a stand-alone.

Maybe you can study PyInstaller or python zipapp, spend some time to make it integrated with pyconcrete.

Falldog avatar Oct 16 '19 02:10 Falldog

Nuitka.

It converts python code into C code and compiles it. But of course some variables can be read from compiled .exe. This looks more solid than the others.

Nuitka puts all C files created by the compilation into a single file. Partially more difficult to examine.

With Pyconcrete, maybe you can find a way to use Nuitka. Combining the two can be a difficult decompile process.

SeanTolstoyevski avatar Dec 13 '19 16:12 SeanTolstoyevski

Nuitka seems cool, I will spend some time to study it in future

Falldog avatar Dec 15 '19 14:12 Falldog

Hi @Falldog ,

As a recommendation, I would recommend that the pye converted files be compressed into the library named "library.zip" as in py2exe. Files can be read from Archive.

This is the approach of PyInstaller and py2exe.

Python's zip support is highly developed. If this sounds like a good idea, we can start somewhere.

SeanTolstoyevski avatar Dec 15 '19 17:12 SeanTolstoyevski