Place all source files for compiled shared object files into the same folder as the final shared object file.
*.pyx files and cython-generated *.c would be in the same directory as the *.so. While external dependend C/C++/Fortran libraries are in dedicate src and include folders. See the following tree as an example.
MDAnalysis
|--lib
| |-- _distances.so
| |-- distances.pyx
| |-- distances.c
|-- coordinates
|-- _dcdmodule.so
|-- src
|-- dcd.c
|-- include
|-- dcd.h
This is standard see numpy, scipy, scikit-learn. mdtraj
Place all source files for compiled shared object files into the same folder as the final shared object file.
*.pyxfiles and cython-generated*.cwould be in the same directory as the*.so. While external dependend C/C++/Fortran libraries are in dedicatesrcandincludefolders. See the following tree as an example.This is standard see numpy, scipy, scikit-learn. mdtraj