This project was created to try the usage of .so
or shared object libraries in python.
Mainly used for the purpose of optimising processes and code secrecy when being shared.
- Setup the virtual environment.
python3 -m venv libc
- Install the required libraries.
pip3 install -r requirements.txt
- Run the
setup.py
.
python3 setup.py
-
After compilation, all
pyx
files in the libcalculator module can be deleted. -
Run the tests:
python3 test.py