3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-22 04:13:47 +01:00

Fixed C-modules to make them importable

This commit is contained in:
Oleg E. Peil 2015-10-22 12:30:24 +02:00
parent 236d2db3a6
commit 7957f4b036
4 changed files with 5 additions and 1 deletions

0
c/__init__.py Normal file
View File

0
c/vasp/__init__.py Normal file
View File

View File

@ -35,7 +35,7 @@ static PyMethodDef c_tetraMethods[] = {
}; };
PyMODINIT_FUNC PyMODINIT_FUNC
initc_tetra(void) initc_atm_dos(void)
{ {
(void) Py_InitModule("c_atm_dos", c_tetraMethods); (void) Py_InitModule("c_atm_dos", c_tetraMethods);
import_array(); import_array();

View File

@ -0,0 +1,4 @@
c_atm_mod.so: argsort.c argsort.h dos_tetra3d.c dos_tetra3d.h
python setup.py build_ext --inplace