Skip to content

Commit 7136c63

Browse files
authored
Fully migrate to pyproject.toml and remove setup.cfg (#454)
1 parent de73c2b commit 7136c63

File tree

2 files changed

+67
-60
lines changed

2 files changed

+67
-60
lines changed

pyproject.toml

Lines changed: 67 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,72 @@
11
[build-system]
2-
requires = ["setuptools>=45", "wheel", "setuptools_scm>=9.2"]
2+
requires = ["setuptools>=61.2", "setuptools_scm>=9.2"]
33
build-backend = "setuptools.build_meta"
44

5+
[project]
6+
name = "instrumentkit"
7+
description = "Test and measurement communication library"
8+
authors = [{name = "Steven Casagrande", email = "[email protected]"}]
9+
license = {text = "AGPLv3"}
10+
classifiers = [
11+
"Development Status :: 4 - Beta",
12+
"Programming Language :: Python",
13+
"Programming Language :: Python :: 3",
14+
"Programming Language :: Python :: 3.9",
15+
"Programming Language :: Python :: 3.10",
16+
"Programming Language :: Python :: 3.11",
17+
"Programming Language :: Python :: 3.12",
18+
"Programming Language :: Python :: 3.13",
19+
"Operating System :: OS Independent",
20+
"Intended Audience :: Science/Research",
21+
"Intended Audience :: Manufacturing",
22+
"Topic :: Scientific/Engineering",
23+
"Topic :: Scientific/Engineering :: Interface Engine/Protocol Translator",
24+
"Topic :: Software Development :: Libraries",
25+
]
26+
dependencies = [
27+
"pint>=0.21.0",
28+
"pyserial>=3.3",
29+
"python-usbtmc",
30+
"python-vxi11>=0.8",
31+
"pyusb>=1.0",
32+
"pyvisa>=1.9",
33+
"ruamel.yaml>=0.18",
34+
"typing_extensions>=4.0.1",
35+
"standard-xdrlib;python_version>='3.13'",
36+
]
37+
dynamic = ["version"]
38+
39+
[project.readme]
40+
file = "README.rst"
41+
content-type = "text/x-rst"
42+
43+
[project.urls]
44+
Homepage = "https://www.github.com/instrumentkit/InstrumentKit"
45+
46+
[project.optional-dependencies]
47+
numpy = ["numpy"]
48+
dev = [
49+
"coverage",
50+
"hypothesis~=6.98.2",
51+
"mock",
52+
"pytest-cov",
53+
"pytest-mock",
54+
"pytest-xdist",
55+
"pytest~=8.0.0",
56+
"pyvisa-sim",
57+
"six",
58+
]
59+
60+
[tool.setuptools]
61+
include-package-data = true
62+
package-dir = {"" = "src"}
63+
64+
[tool.setuptools.packages.find]
65+
where = ["src"]
66+
namespaces = false
67+
68+
[tool.distutils.bdist_wheel]
69+
universal = 1
70+
571
[tool.setuptools_scm]
672
write_to = "src/instruments/_version.py"

setup.cfg

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

0 commit comments

Comments
 (0)