annotate pyproject.toml @ 408:3e28e5aacb8a default

A separate "wheel" package is not used by modern build backends any more.
author Franz Glasner <fzglas.hg@dom66.de>
date Tue, 17 Feb 2026 17:16:27 +0100
parents deabdfed3b96
children 8809d79777c3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
138
64078592444f Add a minimal pyproject.toml
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
1 # Pure-Python-Build
64078592444f Add a minimal pyproject.toml
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
2 [build-system]
408
3e28e5aacb8a A separate "wheel" package is not used by modern build backends any more.
Franz Glasner <fzglas.hg@dom66.de>
parents: 406
diff changeset
3 requires = ["setuptools>=77.0"]
406
deabdfed3b96 For current Python versions use an intree build backend that wraps setuptools.build_meta.
Franz Glasner <fzglas.hg@dom66.de>
parents: 398
diff changeset
4 # This is a intree wrapper for setuptools.build_meta
deabdfed3b96 For current Python versions use an intree build backend that wraps setuptools.build_meta.
Franz Glasner <fzglas.hg@dom66.de>
parents: 398
diff changeset
5 build-backend = "cutils_build"
deabdfed3b96 For current Python versions use an intree build backend that wraps setuptools.build_meta.
Franz Glasner <fzglas.hg@dom66.de>
parents: 398
diff changeset
6 backend-path = ["intree-build-helper"]
390
1ea88e3bec25 On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents: 138
diff changeset
7
1ea88e3bec25 On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents: 138
diff changeset
8 [project]
1ea88e3bec25 On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents: 138
diff changeset
9 name = "py-cutils"
1ea88e3bec25 On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents: 138
diff changeset
10 description = "Pure Python implementation of some coreutils with some extensions"
1ea88e3bec25 On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents: 138
diff changeset
11 #
1ea88e3bec25 On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents: 138
diff changeset
12 # NOTE: This is the *distribution* license (e.g. includes vendored stuff).
1ea88e3bec25 On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents: 138
diff changeset
13 # There is no such thing here as a "project" license.
1ea88e3bec25 On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents: 138
diff changeset
14 #
1ea88e3bec25 On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents: 138
diff changeset
15 license = "BSD-3-Clause AND MIT"
1ea88e3bec25 On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents: 138
diff changeset
16 license-files = [
1ea88e3bec25 On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents: 138
diff changeset
17 "LICENSES/BSD-3-Clause.txt",
1ea88e3bec25 On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents: 138
diff changeset
18 "LICENSES/MIT.txt"
1ea88e3bec25 On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents: 138
diff changeset
19 ]
1ea88e3bec25 On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents: 138
diff changeset
20 authors = [
1ea88e3bec25 On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents: 138
diff changeset
21 {name = "Franz Glasner", email = "fzglas.hg@dom66.de"},
1ea88e3bec25 On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents: 138
diff changeset
22 ]
1ea88e3bec25 On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents: 138
diff changeset
23 classifiers = [
1ea88e3bec25 On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents: 138
diff changeset
24 "Development Status :: 5 - Production/Stable",
1ea88e3bec25 On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents: 138
diff changeset
25 "Environment :: Console",
1ea88e3bec25 On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents: 138
diff changeset
26 "Intended Audience :: Developers",
1ea88e3bec25 On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents: 138
diff changeset
27 "Intended Audience :: End Users/Desktop",
1ea88e3bec25 On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents: 138
diff changeset
28 "Intended Audience :: System Administrators",
1ea88e3bec25 On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents: 138
diff changeset
29 "Operating System :: OS Independent",
1ea88e3bec25 On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents: 138
diff changeset
30 "Programming Language :: Python :: 2.7",
1ea88e3bec25 On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents: 138
diff changeset
31 "Programming Language :: Python :: 3",
1ea88e3bec25 On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents: 138
diff changeset
32 "Topic :: System",
1ea88e3bec25 On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents: 138
diff changeset
33 "Topic :: Utilities"
1ea88e3bec25 On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents: 138
diff changeset
34 ]
1ea88e3bec25 On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents: 138
diff changeset
35 requires-python = ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*"
1ea88e3bec25 On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents: 138
diff changeset
36 dynamic = ["version", "readme"]
1ea88e3bec25 On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents: 138
diff changeset
37
1ea88e3bec25 On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents: 138
diff changeset
38 [project.urls]
1ea88e3bec25 On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents: 138
diff changeset
39 homepage = "https://hg2.dom66.de/hgrepos/Python/apps/py-cutils"
1ea88e3bec25 On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents: 138
diff changeset
40 download = "https://pypi2.dom66.de/simple/py-cutils/"
1ea88e3bec25 On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents: 138
diff changeset
41 source = "https://hg2.dom66.de/hgrepos/Python/apps/py-cutils"
1ea88e3bec25 On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents: 138
diff changeset
42
1ea88e3bec25 On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents: 138
diff changeset
43 [project.scripts]
1ea88e3bec25 On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents: 138
diff changeset
44 py-dos2unix = "cutils.dos2unix:main"
1ea88e3bec25 On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents: 138
diff changeset
45 py-genpwd = "cutils.genpwd:main"
1ea88e3bec25 On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents: 138
diff changeset
46 py-shasum = "cutils.shasum:main"
1ea88e3bec25 On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents: 138
diff changeset
47 py-treesum = "cutils.treesum:main"
1ea88e3bec25 On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents: 138
diff changeset
48
1ea88e3bec25 On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents: 138
diff changeset
49 [tool.setuptools]
1ea88e3bec25 On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents: 138
diff changeset
50 include-package-data = false
1ea88e3bec25 On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents: 138
diff changeset
51 platforms = ["any"]
1ea88e3bec25 On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents: 138
diff changeset
52 zip-safe = true
1ea88e3bec25 On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents: 138
diff changeset
53 packages = [
1ea88e3bec25 On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents: 138
diff changeset
54 "cutils",
1ea88e3bec25 On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents: 138
diff changeset
55 "cutils.util",
1ea88e3bec25 On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents: 138
diff changeset
56 "cutils.crcmod",
1ea88e3bec25 On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents: 138
diff changeset
57 "cutils.crcmod.python2",
1ea88e3bec25 On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents: 138
diff changeset
58 "cutils.crcmod.python3"
1ea88e3bec25 On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents: 138
diff changeset
59 ]
1ea88e3bec25 On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents: 138
diff changeset
60
1ea88e3bec25 On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents: 138
diff changeset
61 [tool.setuptools.dynamic]
1ea88e3bec25 On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents: 138
diff changeset
62 version = {attr = "cutils.__version__"}
1ea88e3bec25 On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents: 138
diff changeset
63 readme = {file = ["README.txt"], content-type = "text/x-rst"}
392
5b8c48e8c4ec FIX: Include REUSE.toml in the wheel
Franz Glasner <fzglas.hg@dom66.de>
parents: 390
diff changeset
64
5b8c48e8c4ec FIX: Include REUSE.toml in the wheel
Franz Glasner <fzglas.hg@dom66.de>
parents: 390
diff changeset
65 [tool.setuptools.package-data]
5b8c48e8c4ec FIX: Include REUSE.toml in the wheel
Franz Glasner <fzglas.hg@dom66.de>
parents: 390
diff changeset
66 "cutils.crcmod" = ["REUSE.toml"]