-
Notifications
You must be signed in to change notification settings - Fork 17
/
setup.py
54 lines (48 loc) · 1.38 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
from setuptools import setup, find_packages
MAJOR = 0
MINOR = 3
MICRO = 6
VERSION = '%d.%d.%d' % (MAJOR, MINOR, MICRO)
def readme():
with open('README.md') as f:
content = f.read()
return content[:content.find('## Tests')]
setup(
name='cvxpygen',
version=VERSION,
license='Apache License, Version 2.0',
description='Code generation with CVXPY',
long_description=readme(),
long_description_content_type='text/markdown',
author='Maximilian Schaller, '
'Goran Banjac, '
'Bartolomeo Stellato, '
'Steven Diamond, '
'Akshay Agrawal, '
'Stephen Boyd',
author_email='[email protected], '
url='https://github.com/cvxgrp/cvxpygen',
packages=find_packages(),
python_requires='>=3.6',
py_modules=['cpg', 'utils'],
include_package_data=True,
install_requires=[
'cmake >= 3.5',
'cvxpy >= 1.4.1',
'pybind11 >= 2.8',
'osqp >= 0.6.2, < 1.0.0',
'clarabel >= 0.6.0',
'scipy >= 1.1.0, <1.12.0',
'numpy >= 1.15, <1.28.0',
],
extras_require={
'dev': [
'pytest == 6.2.4',
],
},
)