-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
37 lines (29 loc) · 943 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# This setup.py will compile and install the subsets extension
# Use:
# setup.py install
#
# In Python 2.2 the extension is copied into
# <pythonhome>/lib/site-packages
# in earlier versions it may be put directly in the python directory.
from distutils.core import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext
import Cython.Compiler.Options
Cython.Compiler.Options.embed_pos_in_docstring = True
import numpy
try:
numpy_include = numpy.get_include()
except AttributeError:
numpy_include = numpy.get_numpy_include()
print numpy_include
setup(name = "marsnpdiff",
version = "1.0",
maintainer = "Florian Finkernagel",
maintainer_email = "[email protected]",
description = "",
cmdclass = {'build_ext': build_ext},
ext_modules = [
Extension("_marsnpdiff", ["_marsnpdiff.pyx"]),
]
)
# end of file: setup.py