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:
parent
236d2db3a6
commit
7957f4b036
0
c/__init__.py
Normal file
0
c/__init__.py
Normal file
0
c/vasp/__init__.py
Normal file
0
c/vasp/__init__.py
Normal 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();
|
||||||
|
4
c/vasp/atm/makefile.linux
Normal file
4
c/vasp/atm/makefile.linux
Normal 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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user