forked from entropicalabs/openqaoa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
72 lines (64 loc) · 1.92 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
63
64
65
66
67
68
69
70
71
72
from setuptools import setup, find_packages
from os import getcwd
current_path = getcwd()
with open("README.md", "r") as fh:
long_description = fh.read()
with open("openqaoa/_version.py") as f:
version = f.readlines()[-1].split()[-1].strip("\"'")
requirements = [
"amazon-braket-sdk>=1.23.0",
"pandas>=1.3.5",
"sympy>=1.10.1",
"numpy>=1.22.3",
"networkx>=2.8",
"matplotlib>=3.4.3",
"scipy>=1.8",
"qiskit>=0.36.1",
"pyquil>=3.1.0",
"docplex>=2.23.1",
"autograd~=1.4",
"semantic_version~=2.10",
"autoray==0.3.1"
]
requirements_docs = [
"sphinx==4.5.0",
"sphinx-autodoc-typehints==1.18.1",
"sphinx-rtd-theme==1.0.0",
"nbsphinx==0.8.9",
"ipython==8.2.0",
"nbconvert>=6.5.1"
]
requirements_test = [
"pytest>=7.1.0",
"pytest-cov>=3.0.0",
"ipython>=8.2.0",
"nbconvert>=6.5.1",
"pandas>=1.4.3",
"plotly>=5.9.0",
"cplex>=22.1.0.0"
]
setup(
name="openqaoa",
python_requires='>=3.8, <3.11',
version= version,
author="Entropica Labs",
packages=find_packages(where="."),
url="https://github.com/entropicalabs/openqaoa",
install_requires= requirements,
license="Apache 2.0",
description= "OpenQAOA is a python open-source multi-backend Software Development Kit to create, customise and execute the Quantum Approximate Optimisation Algorithm (QAOA) on Noisy Intermediate-Scale Quantum (NISQ) devices, and simulators",
long_description=long_description,
long_description_content_type="text/markdown",
classifiers=[
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Operating System :: OS Independent",
],
keywords="quantum optimisation SDK",
extras_require = {
"docs":requirements_docs,
"tests":requirements_test,
"all": requirements_docs + requirements_test
},
)