3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-28 07:13:41 +01:00
dft_tools/c++/plovasp/locproj_io/setup.py.in
Oleg E. Peil 9ee9083249 Rename directory 'c' to 'c++'
In order to use c++2py tools the C-code must be rewritten to C++.
In particular, instead of direct creation of Numpy arrays STL
containers must be used.
2016-02-11 14:56:28 +01:00

10 lines
212 B
Python

from distutils.core import setup, Extension
import numpy
c_locproj_io_mod = Extension('c_locproj_io', sources=['c_locproj_io.c'],
include_dirs=[numpy.get_include()])
setup(ext_modules=[c_locproj_io_mod])