Mercurial > hgrepos > Python > apps > py-cutils
diff 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 |
line wrap: on
line diff
--- a/pyproject.toml Sun May 18 06:00:46 2025 +0200 +++ b/pyproject.toml Mon Feb 16 13:28:35 2026 +0100 @@ -1,4 +1,61 @@ # Pure-Python-Build [build-system] -requires = ["setuptools>=43.0", "wheel>=0.33"] +requires = ["setuptools>=77.0", "wheel>=0.33"] build-backend = "setuptools.build_meta" + +[project] +name = "py-cutils" +description = "Pure Python implementation of some coreutils with some extensions" +# +# NOTE: This is the *distribution* license (e.g. includes vendored stuff). +# There is no such thing here as a "project" license. +# +license = "BSD-3-Clause AND MIT" +license-files = [ + "LICENSES/BSD-3-Clause.txt", + "LICENSES/MIT.txt" +] +authors = [ + {name = "Franz Glasner", email = "fzglas.hg@dom66.de"}, +] +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Environment :: Console", + "Intended Audience :: Developers", + "Intended Audience :: End Users/Desktop", + "Intended Audience :: System Administrators", + "Operating System :: OS Independent", + "Programming Language :: Python :: 2.7", + "Programming Language :: Python :: 3", + "Topic :: System", + "Topic :: Utilities" +] +requires-python = ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*" +dynamic = ["version", "readme"] + +[project.urls] +homepage = "https://hg2.dom66.de/hgrepos/Python/apps/py-cutils" +download = "https://pypi2.dom66.de/simple/py-cutils/" +source = "https://hg2.dom66.de/hgrepos/Python/apps/py-cutils" + +[project.scripts] +py-dos2unix = "cutils.dos2unix:main" +py-genpwd = "cutils.genpwd:main" +py-shasum = "cutils.shasum:main" +py-treesum = "cutils.treesum:main" + +[tool.setuptools] +include-package-data = false +platforms = ["any"] +zip-safe = true +packages = [ + "cutils", + "cutils.util", + "cutils.crcmod", + "cutils.crcmod.python2", + "cutils.crcmod.python3" +] + +[tool.setuptools.dynamic] +version = {attr = "cutils.__version__"} +readme = {file = ["README.txt"], content-type = "text/x-rst"}
