| 1 |
[build-system] |
| 2 |
requires = ["poetry-core>=1.0.0"] |
| 3 |
build-backend = "poetry.core.masonry.api" |
| 4 |
|
| 5 |
[tool.poetry] |
| 6 |
name = "requirements-parser" |
| 7 |
|
| 8 |
version = "0.13.1" |
| 9 |
description = "This is a small Python module for parsing Pip requirement files." |
| 10 |
authors = [ |
| 11 |
"Paul Horton <[email protected]>", |
| 12 |
"David Fischer (@davidfischer)", |
| 13 |
"Trey Hunner (@treyhunner)", |
| 14 |
"Dima Veselov (@dveselov)", |
| 15 |
"Sascha Peilicke (@saschpe)", |
| 16 |
"Jayson Reis (@jaysonsantos)", |
| 17 |
"Max Shenfield (@mshenfield)", |
| 18 |
"Nicolas Delaby (@ticosax)", |
| 19 |
"Stéphane Bidoul (@sbidoul)" |
| 20 |
] |
| 21 |
maintainers = ["Paul Horton <[email protected]>"] |
| 22 |
license = "Apache-2.0" |
| 23 |
readme = "README.md" |
| 24 |
homepage = "https://github.com/madpah/requirements-parser/#readme" |
| 25 |
repository = "https://github.com/madpah/requirements-parser" |
| 26 |
documentation = "https://requirements-parser.readthedocs.io/" |
| 27 |
packages = [ |
| 28 |
{ include = "requirements" }, |
| 29 |
{ include = "tests", format = "sdist" }, |
| 30 |
] |
| 31 |
include = [ |
| 32 |
{ path = "AUTHORS.rst", format = "sdist" }, |
| 33 |
{ path = "LICENSE", format = "sdist" }, |
| 34 |
{ path = "README.md", format = "sdist" }, |
| 35 |
] |
| 36 |
exclude = [ |
| 37 |
|
| 38 |
"**/.*", |
| 39 |
"docs/_build", "docs/processes", |
| 40 |
] |
| 41 |
classifiers = [ |
| 42 |
|
| 43 |
|
| 44 |
'Development Status :: 5 - Production/Stable', |
| 45 |
'Intended Audience :: Developers', |
| 46 |
'Intended Audience :: Information Technology', |
| 47 |
'Topic :: Software Development', |
| 48 |
'Topic :: Software Development :: Libraries :: Python Modules', |
| 49 |
'Topic :: System :: Software Distribution', |
| 50 |
'License :: OSI Approved :: Apache Software License', |
| 51 |
'Programming Language :: Python :: 3.8', |
| 52 |
'Programming Language :: Python :: 3.9', |
| 53 |
'Programming Language :: Python :: 3.10', |
| 54 |
'Programming Language :: Python :: 3.11', |
| 55 |
'Programming Language :: Python :: 3.12', |
| 56 |
'Programming Language :: Python :: 3.13', |
| 57 |
'Typing :: Typed' |
| 58 |
] |
| 59 |
keywords = [ |
| 60 |
"Pip", "requirements", "parse" |
| 61 |
] |
| 62 |
|
| 63 |
[tool.poetry.urls] |
| 64 |
"Bug Tracker" = "https://github.com/madpah/requirements-parser/issues" |
| 65 |
|
| 66 |
[tool.poetry.dependencies] |
| 67 |
python = "^3.8" |
| 68 |
packaging = ">=23.2" |
| 69 |
|
| 70 |
[tool.poetry.group.dev.dependencies] |
| 71 |
coverage = "7.4.4" |
| 72 |
flake8 = { version="7.0.0", python=">=3.8.1" } |
| 73 |
flake8-annotations = { version="3.0.1", python=">=3.8.1" } |
| 74 |
flake8-bugbear = { version="24.2.6", python=">=3.8.1" } |
| 75 |
flake8-isort = "6.1.1" |
| 76 |
flake8-quotes = "3.4.0" |
| 77 |
flake8-use-fstring = "1.4" |
| 78 |
pep8-naming = "0.13.3" |
| 79 |
isort = "5.13.2" |
| 80 |
autopep8 = "2.1.0" |
| 81 |
mypy = "1.9.0" |
| 82 |
tox = "4.14.2" |
| 83 |
|
| 84 |
[tool.semantic_release] |
| 85 |
|
| 86 |
commit_author = "semantic-release <semantic-release>" |
| 87 |
commit_message = "chore(release): {version}\n\nAutomatically generated by python-semantic-release\n\nSigned-off-by: semantic-release <semantic-release>" |
| 88 |
upload_to_vcs_release = true |
| 89 |
build_command = "pip install poetry && poetry build" |
| 90 |
version_toml = ["pyproject.toml:tool.poetry.version"] |
| 91 |
version_variables = [ |
| 92 |
"requirements/__init__.py:__version__", |
| 93 |
"docs/conf.py:release", |
| 94 |
] |
| 95 |
allow_zero_version = true |
| 96 |
|
| 97 |
[tool.semantic_release.publish] |
| 98 |
dist_glob_patterns = ["dist/*"] |
| 99 |
upload_to_vcs_release = true |
| 100 |
|
| 101 |
[tool.semantic_release.changelog] |
| 102 |
changelog_file = "CHANGELOG.md" |
| 103 |
exclude_commit_patterns = [ |
| 104 |
"chore\\(release\\):", |
| 105 |
"chore\\(skip\\):", |
| 106 |
] |
| 107 |
|
| 108 |
[tool.semantic_release.branches.main] |
| 109 |
match = "(main|master)" |
| 110 |
prerelease = false |
| 111 |
|
| 112 |
[tool.semantic_release.branches."step"] |
| 113 |
match = "(build|chore|ci|docs|feat|fix|perf|style|refactor|test)" |
| 114 |
prerelease = true |
| 115 |
prerelease_token = "alpha" |
| 116 |
|
| 117 |
[tool.semantic_release.branches."major-dev"] |
| 118 |
match = "(\\d+\\.0\\.0-(dev|rc)|dev/\\d+\\.0\\.0)" |
| 119 |
prerelease = true |
| 120 |
prerelease_token = "rc" |