Mercurial > hgrepos > Python > apps > py-cutils
annotate pyproject.toml @ 398:3beac9c85781 default tip
Syntax in pyproject.toml: use unescaped syntax
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Mon, 16 Feb 2026 15:36:17 +0100 |
| parents | c033f4072c14 |
| children |
| 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] |
|
397
c033f4072c14
FIX: _postprocess-sdist now works for compressed archives and configuration in pyproject.toml.
Franz Glasner <fzglas.hg@dom66.de>
parents:
392
diff
changeset
|
3 requires = [ |
|
c033f4072c14
FIX: _postprocess-sdist now works for compressed archives and configuration in pyproject.toml.
Franz Glasner <fzglas.hg@dom66.de>
parents:
392
diff
changeset
|
4 "setuptools>=77.0", |
|
c033f4072c14
FIX: _postprocess-sdist now works for compressed archives and configuration in pyproject.toml.
Franz Glasner <fzglas.hg@dom66.de>
parents:
392
diff
changeset
|
5 "wheel>=0.33", |
|
398
3beac9c85781
Syntax in pyproject.toml: use unescaped syntax
Franz Glasner <fzglas.hg@dom66.de>
parents:
397
diff
changeset
|
6 "tomli; python_version<'3.11'" |
|
397
c033f4072c14
FIX: _postprocess-sdist now works for compressed archives and configuration in pyproject.toml.
Franz Glasner <fzglas.hg@dom66.de>
parents:
392
diff
changeset
|
7 ] |
|
138
64078592444f
Add a minimal pyproject.toml
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
8 build-backend = "setuptools.build_meta" |
|
390
1ea88e3bec25
On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents:
138
diff
changeset
|
9 |
|
1ea88e3bec25
On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents:
138
diff
changeset
|
10 [project] |
|
1ea88e3bec25
On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents:
138
diff
changeset
|
11 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
|
12 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
|
13 # |
|
1ea88e3bec25
On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents:
138
diff
changeset
|
14 # 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
|
15 # 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
|
16 # |
|
1ea88e3bec25
On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents:
138
diff
changeset
|
17 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
|
18 license-files = [ |
|
1ea88e3bec25
On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents:
138
diff
changeset
|
19 "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
|
20 "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
|
21 ] |
|
1ea88e3bec25
On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents:
138
diff
changeset
|
22 authors = [ |
|
1ea88e3bec25
On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents:
138
diff
changeset
|
23 {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
|
24 ] |
|
1ea88e3bec25
On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents:
138
diff
changeset
|
25 classifiers = [ |
|
1ea88e3bec25
On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents:
138
diff
changeset
|
26 "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
|
27 "Environment :: Console", |
|
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 :: Developers", |
|
1ea88e3bec25
On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents:
138
diff
changeset
|
29 "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
|
30 "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
|
31 "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
|
32 "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
|
33 "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
|
34 "Topic :: System", |
|
1ea88e3bec25
On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents:
138
diff
changeset
|
35 "Topic :: Utilities" |
|
1ea88e3bec25
On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents:
138
diff
changeset
|
36 ] |
|
1ea88e3bec25
On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents:
138
diff
changeset
|
37 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
|
38 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
|
39 |
|
1ea88e3bec25
On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents:
138
diff
changeset
|
40 [project.urls] |
|
1ea88e3bec25
On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents:
138
diff
changeset
|
41 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
|
42 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
|
43 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
|
44 |
|
1ea88e3bec25
On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents:
138
diff
changeset
|
45 [project.scripts] |
|
1ea88e3bec25
On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents:
138
diff
changeset
|
46 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
|
47 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
|
48 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
|
49 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
|
50 |
|
1ea88e3bec25
On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents:
138
diff
changeset
|
51 [tool.setuptools] |
|
1ea88e3bec25
On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents:
138
diff
changeset
|
52 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
|
53 platforms = ["any"] |
|
1ea88e3bec25
On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents:
138
diff
changeset
|
54 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
|
55 packages = [ |
|
1ea88e3bec25
On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents:
138
diff
changeset
|
56 "cutils", |
|
1ea88e3bec25
On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents:
138
diff
changeset
|
57 "cutils.util", |
|
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", |
|
1ea88e3bec25
On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents:
138
diff
changeset
|
59 "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
|
60 "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
|
61 ] |
|
1ea88e3bec25
On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents:
138
diff
changeset
|
62 |
|
1ea88e3bec25
On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents:
138
diff
changeset
|
63 [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
|
64 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
|
65 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
|
66 |
|
5b8c48e8c4ec
FIX: Include REUSE.toml in the wheel
Franz Glasner <fzglas.hg@dom66.de>
parents:
390
diff
changeset
|
67 [tool.setuptools.package-data] |
|
5b8c48e8c4ec
FIX: Include REUSE.toml in the wheel
Franz Glasner <fzglas.hg@dom66.de>
parents:
390
diff
changeset
|
68 "cutils.crcmod" = ["REUSE.toml"] |
