Skip to content

Commit f649904

Browse files
committed
migrate setup.py to pyproject.toml
1 parent d2bc08a commit f649904

File tree

2 files changed

+67
-85
lines changed

2 files changed

+67
-85
lines changed

pyproject.toml

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
[project]
2+
name = "dqpu"
3+
dynamic = ["version"]
4+
description = "Decentralized Quantum Processing Unit)"
5+
readme = "README.md"
6+
requires-python = ">= 3.9.2, <3.12"
7+
license = {text = "Apache 2.0"}
8+
authors = [
9+
{name = "Davide Gessa", email = "[email protected]"},
10+
]
11+
dependencies = [
12+
"scipy==1.13.0",
13+
"matplotlib",
14+
"qiskit==1.0.2",
15+
"qiskit_aer==0.14.1",
16+
"py-near",
17+
"requests",
18+
"numpy==1.26.4",
19+
"openqasm3[parser]",
20+
"scikit-build",
21+
"base58",
22+
"loguru",
23+
"pydantic",
24+
"nest_asyncio",
25+
"pyqrack",
26+
"qiskit-qrack-provider>=0.11.0",
27+
]
28+
classifiers = [
29+
"Programming Language :: Python",
30+
"Programming Language :: Python :: 3.9",
31+
"Programming Language :: Python :: 3.10",
32+
"Programming Language :: Python :: 3.11",
33+
"Programming Language :: Python :: 3.12",
34+
"Development Status :: 5 - Production/Stable",
35+
"Topic :: Scientific/Engineering :: Physics",
36+
"Operating System :: OS Independent",
37+
]
38+
39+
[project.urls]
40+
Homepage = "https://github.com/dakk/dqpu"
41+
"Bug Tracker" = "https://github.com/dakk/dqpu/issues/"
42+
Documentation = "https://dakk.github.io/dqpu"
43+
Source = "https://github.com/dakk/dqpu"
44+
45+
[project.scripts]
46+
dqpu-sim_trap_test_main = "dqpu.sim_trap_test_main:main"
47+
dqpu-verifier = "dqpu.verifiernode:verifier_node"
48+
dqpu-sampler = "dqpu.samplernode:sampler_node"
49+
dqpu-cli = "dqpu.cli:cli"
50+
51+
[tool.setuptools]
52+
packages = [
53+
"dqpu",
54+
"dqpu.q",
55+
"dqpu.sampler",
56+
"dqpu.verifier",
57+
"dqpu.blockchain",
58+
"dqpu.backends",
59+
"dqpu.backends.qiskit",
60+
]
61+
zip-safe = false
62+
63+
[build-system]
64+
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2"]
65+
build-backend = "setuptools.build_meta"
66+
67+
[tool.setuptools_scm]

setup.py

Lines changed: 0 additions & 85 deletions
This file was deleted.

0 commit comments

Comments
 (0)