diff options
| author | Mohammad Sajid Anwar <Mohammad.Anwar@yahoo.com> | 2024-09-08 11:04:11 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-08 11:04:11 +0100 |
| commit | 7cc7c2044811d44820194e9b8e4ef92a0a80a497 (patch) | |
| tree | fce71a8f9cf696b32d0d584eeb6a97f704d8c386 /challenge-285/ppentchev/python/pyproject.toml | |
| parent | f914ae6a3f7212cd2083677a8134d9009960a5b0 (diff) | |
| parent | 50445dbe3f83551244d858e5d2a0a0e1a90adf75 (diff) | |
| download | perlweeklychallenge-club-7cc7c2044811d44820194e9b8e4ef92a0a80a497.tar.gz perlweeklychallenge-club-7cc7c2044811d44820194e9b8e4ef92a0a80a497.tar.bz2 perlweeklychallenge-club-7cc7c2044811d44820194e9b8e4ef92a0a80a497.zip | |
Merge pull request #10788 from ppentchev/pp-285-python
Add Peter Pentchev's Python solution to 285.
Diffstat (limited to 'challenge-285/ppentchev/python/pyproject.toml')
| -rw-r--r-- | challenge-285/ppentchev/python/pyproject.toml | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/challenge-285/ppentchev/python/pyproject.toml b/challenge-285/ppentchev/python/pyproject.toml new file mode 100644 index 0000000000..d09bf621ca --- /dev/null +++ b/challenge-285/ppentchev/python/pyproject.toml @@ -0,0 +1,86 @@ +# SPDX-FileCopyrightText: Peter Pentchev <roam@ringlet.net> +# SPDX-License-Identifier: BSD-2-Clause + +[build-system] +requires = [ + "hatchling >= 1.8, < 2", + "hatch-requirements-txt >= 0.3, < 0.5", +] +build-backend = "hatchling.build" + +[project] +name = "perl-weekly-285" +description = "Parse an expression for selecting stages and tags" +readme = "README.md" +license = {text = "BSD-2-Clause"} +requires-python = ">= 3.11" +dynamic = ["dependencies", "version"] +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "License :: DFSG approved", + "License :: Freely Distributable", + "License :: OSI Approved :: BSD License", + "Operating System :: OS Independent", + "Programming Language :: Python", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Topic :: Software Development :: Libraries", + "Topic :: Software Development :: Libraries :: Python Modules", + "Topic :: Software Development :: Testing", + "Topic :: Software Development :: Testing :: Unit", + "Typing :: Typed", +] + +[[project.authors]] +name = "Peter Pentchev" +email = "roam@ringlet.net" + +[project.scripts] +"perl-weekly-285" = "perl_weekly_285.__main__:main" + +[project.urls] +Homepage = "https://devel.ringlet.net/misc/perl-weekly-285/" +Changes = "https://devel.ringlet.net/misc/perl-weekly-285/changes/" +"Issue Tracker" = "https://gitlab.com/ppentchev/perl-weekly-285/-/issues" +"Source Code" = "https://gitlab.com/ppentchev/perl-weekly-285" + +[tool.hatch.build.targets.wheel] +packages = ["src/perl_weekly_285"] + +[tool.hatch.metadata.hooks.requirements_txt] +files = ["requirements/install.txt"] + +[tool.hatch.version] +path = "src/perl_weekly_285/defs.py" +pattern = '(?x) ^ VERSION \s* (?: : \s* Final \s* )? = \s* " (?P<version> [^\s"]+ ) " \s* $' + +[tool.mypy] +strict = true + +[tool.publync.format.version] +major = 0 +minor = 1 + +[tool.publync.build.tox] + +[tool.publync.sync.rsync] +remote = "marla.ludost.net:vhosts/devel.ringlet.net/public_html/misc/perl-weekly-285" + +[tool.ruff] +extend = "ruff-base.toml" +output-format = "concise" +preview = true + +[tool.ruff.lint] +select = ["ALL"] + +[tool.test-stages] +stages = [ + "(@check or @docs) and @quick and not @manual", + "(@check or @docs) and not @manual", + "@tests and not @manual", +] |
