Skip to content

Commit 2db8fb8

Browse files
committed
another big bag of changes
1 parent f536e9f commit 2db8fb8

2 files changed

Lines changed: 54 additions & 46 deletions

File tree

pyproject.toml

Lines changed: 54 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,61 @@
1+
[build-system]
2+
requires = [
3+
"setuptools>=69",
4+
"setuptools_scm[toml]>=8",
5+
"wheel"
6+
]
7+
build-backend = "setuptools.build_meta"
8+
19
[project]
210
name = "trsfile"
11+
description = "Library to read and create Inspector trace set files (.trs)"
12+
readme = { file = "README.md", content-type = "text/markdown" }
13+
license = { file = "LICENSE" }
314
dynamic = ["version"]
15+
keywords = ["trs", "trace", "traceset", "trace set", "oscilloscope", "test and measurement"]
16+
classifiers = [
17+
"Development Status :: 4 - Beta",
18+
"Programming Language :: Python :: 3",
19+
"License :: OSI Approved :: BSD License",
20+
"Topic :: Utilities",
21+
"Operating System :: OS Independent"
22+
]
23+
maintainers = [
24+
{ name = "Riscure", email = "inforequest@riscure.com" }
25+
]
26+
dependencies = [
27+
"numpy>=1.24,<3"
28+
]
429

5-
[build-system]
6-
requires = ["setuptools>=42", "wheel", "setuptools_scm[toml]>=3.4"]
7-
build-backend = "setuptools.build_meta"
30+
[project.optional-dependencies]
31+
DEV = [
32+
"sphinx",
33+
"sphinx-autobuild",
34+
"sphinx_rtd_theme",
35+
"m2r2"
36+
]
37+
38+
[project.urls]
39+
Homepage = "https://trsfile.readthedocs.io/en/latest"
40+
Documentation = "https://trsfile.readthedocs.io/en/latest"
41+
Repository = "https://github.com/keysight/python-trsfile"
42+
Issues = "https://github.com/keysight/python-trsfile/issues"
43+
44+
# --- setuptools configuration (package discovery, data inclusion) ---
45+
46+
[tool.setuptools]
47+
# Keep this true if you rely on MANIFEST.in or auto-inclusion of package data
48+
include-package-data = true
49+
50+
[tool.setuptools.packages.find]
51+
# Discover the 'trsfile' package and its subpackages
52+
include = ["trsfile", "trsfile.*"]
53+
54+
# NOTE: With setuptools-scm's 'write_to', the generated VERSION.txt is
55+
# automatically included in sdists and wheels; no extra package_data is needed.
56+
57+
# --- setuptools-scm configuration ---
858

959
[tool.setuptools_scm]
60+
# This writes the computed version into the package at build time
1061
write_to = "trsfile/VERSION.txt"

setup.cfg

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

0 commit comments

Comments
 (0)