Skip to content
No description, website, or topics provided.
C++ C Python CMake
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
CMakeLists.txt
README.md
ext.cpp
mymath.c
setup.py
test.py

README.md

About

Builds a python extension module (C).

Build Steps:

- sudo apt-get install python3-dev
- python3 setup.py build
- mv build/lib*/*.so .
- python3 test.py 

Links

- https://packaging.python.org/guides/packaging-binary-extensions/
- https://martinopilia.com/posts/2018/09/15/building-python-extension.html
- https://wiki.python.org/moin/GlobalInterpreterLock
- https://stackoverflow.com/questions/471191/why-compile-python-code
You can’t perform that action at this time.