How to make Python module available?

We have a python-based module that we want to distribute to our customers by creating a compiled copy that is understandable using a Linux system (i.e. .so ).

We appreciated cython, which makes it pretty easy, but we see that it creates as many .so files as a .pyx / .py file, but we want to make a single .bux file for the complete package. We want to do this wisely in a sense that if we add a dependency to another module in the future, then the compiled uber file must have all the dependencies.

Any recommendations how we can do this neatly?

+4
source share
1 answer

cx_freeze python.

:

cxfreeze my_script_using_my_python_module.py --target-dir dist

python python . , python, libc/gcc .

, python .so . -.

cx_freeze python python, . .

+2

Source: https://habr.com/ru/post/1695858/


All Articles