Mercurial > hgrepos > Python > apps > py-cutils
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 389:faa36af3c629 | 390:1ea88e3bec25 |
|---|---|
| 1 # Pure-Python-Build | 1 # Pure-Python-Build |
| 2 [build-system] | 2 [build-system] |
| 3 requires = ["setuptools>=43.0", "wheel>=0.33"] | 3 requires = ["setuptools>=77.0", "wheel>=0.33"] |
| 4 build-backend = "setuptools.build_meta" | 4 build-backend = "setuptools.build_meta" |
| 5 | |
| 6 [project] | |
| 7 name = "py-cutils" | |
| 8 description = "Pure Python implementation of some coreutils with some extensions" | |
| 9 # | |
| 10 # NOTE: This is the *distribution* license (e.g. includes vendored stuff). | |
| 11 # There is no such thing here as a "project" license. | |
| 12 # | |
| 13 license = "BSD-3-Clause AND MIT" | |
| 14 license-files = [ | |
| 15 "LICENSES/BSD-3-Clause.txt", | |
| 16 "LICENSES/MIT.txt" | |
| 17 ] | |
| 18 authors = [ | |
| 19 {name = "Franz Glasner", email = "fzglas.hg@dom66.de"}, | |
| 20 ] | |
| 21 classifiers = [ | |
| 22 "Development Status :: 5 - Production/Stable", | |
| 23 "Environment :: Console", | |
| 24 "Intended Audience :: Developers", | |
| 25 "Intended Audience :: End Users/Desktop", | |
| 26 "Intended Audience :: System Administrators", | |
| 27 "Operating System :: OS Independent", | |
| 28 "Programming Language :: Python :: 2.7", | |
| 29 "Programming Language :: Python :: 3", | |
| 30 "Topic :: System", | |
| 31 "Topic :: Utilities" | |
| 32 ] | |
| 33 requires-python = ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*" | |
| 34 dynamic = ["version", "readme"] | |
| 35 | |
| 36 [project.urls] | |
| 37 homepage = "https://hg2.dom66.de/hgrepos/Python/apps/py-cutils" | |
| 38 download = "https://pypi2.dom66.de/simple/py-cutils/" | |
| 39 source = "https://hg2.dom66.de/hgrepos/Python/apps/py-cutils" | |
| 40 | |
| 41 [project.scripts] | |
| 42 py-dos2unix = "cutils.dos2unix:main" | |
| 43 py-genpwd = "cutils.genpwd:main" | |
| 44 py-shasum = "cutils.shasum:main" | |
| 45 py-treesum = "cutils.treesum:main" | |
| 46 | |
| 47 [tool.setuptools] | |
| 48 include-package-data = false | |
| 49 platforms = ["any"] | |
| 50 zip-safe = true | |
| 51 packages = [ | |
| 52 "cutils", | |
| 53 "cutils.util", | |
| 54 "cutils.crcmod", | |
| 55 "cutils.crcmod.python2", | |
| 56 "cutils.crcmod.python3" | |
| 57 ] | |
| 58 | |
| 59 [tool.setuptools.dynamic] | |
| 60 version = {attr = "cutils.__version__"} | |
| 61 readme = {file = ["README.txt"], content-type = "text/x-rst"} |
