-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathsetup.py
30 lines (26 loc) · 1 KB
/
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
#!/usr/bin/env python
"""
setup.py file for SWIG Wrapper for MCFSimplex
"""
from distutils.core import setup, Extension
import numpy as np # for numpy array conversion
pyMCFSimplex_module = Extension('_pyMCFSimplex',
sources=['pyMCFSimplex_wrap.cxx', 'MCFSimplex.cpp'],
)
setup (name = 'pyMCFSimplex',
version = '0.9',
author = "G#.Blog - Johannes Sommer",
author_email = "[email protected]",
url = r"http:\\www.sommer-forst.de\blog",
description = "pyMCFSimplex is a Python Wrapper for MCFSimplex",
long_description =
"""
pyMCFSimplex is a Python Wrapper for the Minimum Cost Flow Problem Solver
'MCFSimplex' coded and maintained at the University of Pisa.
""",
include_dirs = [np.get_include()], # Header for numpy
ext_modules = [pyMCFSimplex_module],
license = "LGPL 2.1",
platforms = ["win32","linux-x86_64"],
py_modules = ["pyMCFSimplex"],
)