|
| 1 | +[build-system] |
| 2 | +requires = [ |
| 3 | + "setuptools>=69", |
| 4 | + "setuptools_scm[toml]>=8", |
| 5 | + "wheel" |
| 6 | +] |
| 7 | +build-backend = "setuptools.build_meta" |
| 8 | + |
1 | 9 | [project] |
2 | 10 | 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" } |
3 | 14 | 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 | +] |
4 | 29 |
|
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 --- |
8 | 58 |
|
9 | 59 | [tool.setuptools_scm] |
| 60 | +# This writes the computed version into the package at build time |
10 | 61 | write_to = "trsfile/VERSION.txt" |
0 commit comments