-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.py
62 lines (44 loc) · 1.67 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
from setuptools import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext
import numpy as np
setup(
name = "stodynprog",
version = '0.2.0',
packages = ['stodynprog', 'stodynprog.dolointerpolation', 'stodynprog.tests'],
test_suite='stodynprog.tests',
cmdclass = {'build_ext': build_ext},
ext_modules = [
Extension(
'stodynprog.dolointerpolation.multilinear_cython',
['stodynprog/dolointerpolation/multilinear_cython.pyx'],
extra_compile_args=['-O3']
),
],
include_dirs = [np.get_include()], #find numpy headers to build the Cython extension
install_requires = ["numpy","scipy","cython"],
extras_require = {
'plots': ["matplotlib"],
},
author = "Pierre Haessig",
author_email = "[email protected]",
description = 'a library for solving stochastic optimal control problems, also called dynamic optimization',
license = 'BSD-3',
url = 'https://github.com/pierre-haessig/stodynprog',
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 4 - Beta',
# Indicate who your project is intended for
'Intended Audience :: Science/Research',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: BSD License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
)