-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
41 lines (34 loc) · 1.01 KB
/
setup.py
File metadata and controls
41 lines (34 loc) · 1.01 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
32
33
34
35
36
37
38
39
40
41
from setuptools import setup, find_packages
with open("README.md", "r") as fh:
long_description = fh.read()
_sao_packages = find_packages(include=['sao/'])
# additional requirements besides `install_requires` for development
_dev = ['yapf', 'flake8', 'tox', 'pytest', 'pytest-cov']
# additional requirements to generate package documentation
_docs = ['sphinx', 'sphinx_rtd_theme', 'sphinxcontrib-napoleon']
# optional requirements to link with other libraries
_opt = ['cvxopt']
# combined dependencies
_all = list(set(_dev) | set(_docs) | set(_opt))
setup(
name="sao",
version="0.0.1",
description='Sequential Approximate Optimisation',
author_email='s.koppen@tudelft.nl',
packages=_sao_packages,
keywords=['sao', 'optimisation'],
python_requires='>=3.8, <4',
install_requires=[
'numpy',
'scipy',
'matplotlib',
'numba',
'osqp',
'cvxopt',
],
extras_require={
'all': _all,
'dev': _dev,
'doc': _docs,
},
)