Mercurial > hgrepos > Python > apps > py-cutils
annotate pyproject.toml @ 390:1ea88e3bec25
On the default trunk begin a pure PEP 517 build configuration.
This is Python3 only.
Builds with Python2.7 and/or older Python3 versions are supported on the
upcoming build-2.7 branch.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Mon, 16 Feb 2026 13:28:35 +0100 |
| parents | 64078592444f |
| children | 5b8c48e8c4ec |
| 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] |
|
390
1ea88e3bec25
On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents:
138
diff
changeset
|
3 requires = ["setuptools>=77.0", "wheel>=0.33"] |
|
138
64078592444f
Add a minimal pyproject.toml
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
4 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
|
5 |
|
1ea88e3bec25
On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents:
138
diff
changeset
|
6 [project] |
|
1ea88e3bec25
On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents:
138
diff
changeset
|
7 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
|
8 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
|
9 # |
|
1ea88e3bec25
On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents:
138
diff
changeset
|
10 # 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
|
11 # 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
|
12 # |
|
1ea88e3bec25
On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents:
138
diff
changeset
|
13 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
|
14 license-files = [ |
|
1ea88e3bec25
On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents:
138
diff
changeset
|
15 "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
|
16 "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
|
17 ] |
|
1ea88e3bec25
On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents:
138
diff
changeset
|
18 authors = [ |
|
1ea88e3bec25
On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents:
138
diff
changeset
|
19 {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
|
20 ] |
|
1ea88e3bec25
On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents:
138
diff
changeset
|
21 classifiers = [ |
|
1ea88e3bec25
On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents:
138
diff
changeset
|
22 "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
|
23 "Environment :: Console", |
|
1ea88e3bec25
On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents:
138
diff
changeset
|
24 "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
|
25 "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
|
26 "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
|
27 "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
|
28 "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
|
29 "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
|
30 "Topic :: System", |
|
1ea88e3bec25
On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents:
138
diff
changeset
|
31 "Topic :: Utilities" |
|
1ea88e3bec25
On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents:
138
diff
changeset
|
32 ] |
|
1ea88e3bec25
On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents:
138
diff
changeset
|
33 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
|
34 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
|
35 |
|
1ea88e3bec25
On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents:
138
diff
changeset
|
36 [project.urls] |
|
1ea88e3bec25
On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents:
138
diff
changeset
|
37 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
|
38 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
|
39 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
|
40 |
|
1ea88e3bec25
On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents:
138
diff
changeset
|
41 [project.scripts] |
|
1ea88e3bec25
On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents:
138
diff
changeset
|
42 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
|
43 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
|
44 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
|
45 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
|
46 |
|
1ea88e3bec25
On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents:
138
diff
changeset
|
47 [tool.setuptools] |
|
1ea88e3bec25
On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents:
138
diff
changeset
|
48 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
|
49 platforms = ["any"] |
|
1ea88e3bec25
On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents:
138
diff
changeset
|
50 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
|
51 packages = [ |
|
1ea88e3bec25
On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents:
138
diff
changeset
|
52 "cutils", |
|
1ea88e3bec25
On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents:
138
diff
changeset
|
53 "cutils.util", |
|
1ea88e3bec25
On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents:
138
diff
changeset
|
54 "cutils.crcmod", |
|
1ea88e3bec25
On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents:
138
diff
changeset
|
55 "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
|
56 "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
|
57 ] |
|
1ea88e3bec25
On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents:
138
diff
changeset
|
58 |
|
1ea88e3bec25
On the default trunk begin a pure PEP 517 build configuration.
Franz Glasner <fzglas.hg@dom66.de>
parents:
138
diff
changeset
|
59 [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
|
60 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
|
61 readme = {file = ["README.txt"], content-type = "text/x-rst"} |
