-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathsetup.py
More file actions
42 lines (39 loc) · 1.17 KB
/
Copy pathsetup.py
File metadata and controls
42 lines (39 loc) · 1.17 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
42
from setuptools import find_namespace_packages, setup
with open("README.md", "r") as fh:
long_description = fh.read()
with open("qhdopt/_version.py") as f:
version = f.readlines()[-1].split()[-1].strip("\"'")
setup(
name="qhdopt",
version=version,
description="A software package for nonconvex optimization with quantum devices.",
long_description=long_description,
long_description_content_type="text/markdown",
packages=find_namespace_packages(where="."),
package_dir={"": "."},
install_requires=[
"jax[cpu]",
"sympy",
"scipy>=1.10.1,<1.12",
"numpy<1.28.0",
"jaxlib",
"qutip<5",
"simuq>=0.3.1",
"dwave-system",
"qiskit",
"matplotlib"
],
extras_require={
"dev": ["tox"],
"all": ["qhdopt[dev]"],
},
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Science/Research",
"Natural Language :: English",
"Programming Language :: Python",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
],
)