-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
51 lines (49 loc) · 2.11 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
from setuptools import setup
from glob import glob
ecos_sources = ['ecos/src/*.c',
'ecos/external/ldl/src/ldl.c',
'ecos/external/amd/src/*.c',
'ecos/include/*.h',
'ecos/external/amd/include/*.h',
'ecos/external/ldl/include/*.h',
'ecos/external/ldl/Makefile',
'ecos/external/SuiteSparse_config/*.h',
'ecos/external/amd/include/*.h',
'ecos/external/amd/Makefile',
'ecos/Makefile',
'ecos/ecos.mk' ]
setup(
name='cvxpy-codegen',
version='0.0.1',
author='Nicholas Moehle',
author_email='[email protected]',
packages=['cvxpy_codegen',
'cvxpy_codegen.atoms',
'cvxpy_codegen.linop_sym',
'cvxpy_codegen.param',
'cvxpy_codegen.solvers',
'cvxpy_codegen.templates',
'cvxpy_codegen.tests',
'cvxpy_codegen.tests.param_handler',
'cvxpy_codegen.tests.linop_handler',
'cvxpy_codegen.utils'],
package_dir={'cvxpy_codegen': 'cvxpy_codegen'},
package_data={'cvxpy_codegen.param' : ['param.c.jinja'],
'cvxpy_codegen.atoms' : ['*.jinja'],
'cvxpy_codegen.linop_sym' : ['linop_sym.c.jinja'],
'cvxpy_codegen.solvers' : ['*.jinja'] + ecos_sources,
'cvxpy_codegen.tests.param_handler' : ['*.jinja'],
'cvxpy_codegen.tests.linop_handler' : ['*.jinja'],
'cvxpy_codegen.utils' : ['utils.c.jinja'],
'cvxpy_codegen.templates' : ['*.jinja']},
url='http://github.com/moehle/cvxpy-codegen/',
license='GPLv3',
zip_safe=False,
description='Embedded C code generation for convex optimization problem using CVXPY.',
install_requires=["ecos >= 2",
"cvxpy >= 0.4, <1.0",
"numpy >= 1.9",
"python >= 2.7",
"jinja2 >= 2.8",
"scipy >= 0.15"],
)