Statistiques
| Révision :

root / Ising / Numpy-C / setup.py @ 97

Historique | Voir | Annoter | Télécharger (255 octet)

1
from distutils.core import setup, Extension
2
import numpy
3

    
4
# define the extension module
5
array_module_np = Extension('array_module_np', sources=['array_module_np.c'],include_dirs=[numpy.get_include()])
6

    
7
# run the setup
8
setup(ext_modules=[array_module_np])