-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
31 lines (26 loc) · 1.05 KB
/
setup.py
File metadata and controls
31 lines (26 loc) · 1.05 KB
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
#!/usr/bin/env python
"""
setup.py file for SWIG Wrapper for MCFSimplex
"""
from setuptools import setup, Extension
import numpy as np # for numpy array conversion
with open("README.md", "r") as file:
long_desc = file.read()
pyMCFSimplex_module = Extension('_pyMCFSimplex',
sources=['pyMCFSimplex_wrap.cxx', 'MCFSimplex.cpp'],
include_dirs=[np.get_include()], extra_compile_args=["-w"])
setup(name='pyMCFSimplex',
version='0.9.4',
author="G#.Blog - Johannes Sommer",
author_email="info@sommer-forst.de",
url="http://www.sommer-forst.de/blog",
description="pyMCFSimplex is a Python Wrapper for MCFSimplex",
long_description=long_desc,
long_description_content_type='text/markdown',
include_dirs=[np.get_include()], # Header for numpy
ext_modules=[pyMCFSimplex_module],
license="LGPL 2.1",
platforms=["win32", "manylinux1_x86_64"],
py_modules=["pyMCFSimplex"],
install_requires=["numpy"],
)