Skip to content

erikfrojdh/python_cpp_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python_cpp_example

Minimal example building a C++ python extension.

Useful links:

Build instructions

#build in place and use from the same folder
#sometimes necessary to remove build folder and .so
#by hand
python setup.py build_ext --inplace

To use make sure that the .so and potentially python files are in PYTHONPATH (or installed in developer mode)

#conda
conda develop install . 

#or with pip
pip install --editable .

About

Simple Python C extension

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published