-
Notifications
You must be signed in to change notification settings - Fork 25
/
setup.py
54 lines (46 loc) · 1.39 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
import setuptools
with open("README.md", "r", encoding="utf-8") as readme:
long_description = readme.read()
# !MDC{set}{package_version = "{version}"}
package_version = "1.3.0.dev0"
dependencies = [
"numpy<2",
"sympy",
"torch>=2.2.0",
"tqdm",
]
# optional dependencies
docs = ["sphinx", "sphinx-rtd-theme", "numpydoc"]
lint = [
"black==24.3.0",
"flake8",
"isort",
]
test = [
"coverage",
"pytest",
]
dev = docs + lint + test
setuptools.setup(
name="simulated-bifurcation",
version=package_version,
description="Efficient implementation of the quantum-inspired Simulated "
"Bifurcation (SB) algorithm to solve Ising-like problems.",
url="https://github.com/bqth29/simulated-bifurcation-algorithm",
long_description=long_description,
long_description_content_type="text/markdown",
packages=setuptools.find_packages("src"),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: Microsoft :: Windows",
"Operating System :: Unix",
"Operating System :: MacOS",
"Topic :: Scientific/Engineering",
"Intended Audience :: Science/Research",
],
install_requires=dependencies,
extras_require={"lint": lint, "test": test, "dev": dev, "all": dev, "docs": docs},
python_requires=">=3.8",
package_dir={"": "src"},
)