How Python Source Code Is Private

Asked 2 years ago, Updated 2 years ago, 12 views

Master, please make a move.

It's a question. Do not show your source code due to technology leakage or application I want to be inserted into another project. Of course, my case would be a rush.

C/C++, etc. can be made into a library and private in a dll/lib file Please tell us what to do in Python.

For your information, after the first question, I tried to solve it with Python modularization (whl file) If you follow the package directory after installation, you will find the source code. Failed

python

2022-09-20 21:44

1 Answers

It's best to cythonize it with cython.

The downside is that it compiles c/c++ code as an extension module, not Python, which reduces portability.

If you build setup.py well, you can do it without modifying the Python code.


2022-09-20 21:44

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.