view 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
line wrap: on
line source

# Pure-Python-Build
[build-system]
requires = [
    "setuptools>=77.0",
    "wheel>=0.33",
    "tomli; python_version<'3.11'"
]
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"}

[tool.setuptools.package-data]
"cutils.crcmod" = ["REUSE.toml"]