-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #118 from kurtmckee/use-pep-621-metadata
Migrate to PEP 621 metadata in `pyproject.toml`
- Loading branch information
Showing
21 changed files
with
52 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
MIT License | ||
|
||
Copyright 2009-2024 Kurt McKee <[email protected]> | ||
Copyright 2009-2025 Kurt McKee <[email protected]> | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
.. | ||
This file is part of listparser. | ||
Copyright 2009-2025 Kurt McKee <[email protected]> | ||
SPDX-License-Identifier: MIT | ||
.. image:: docs/_static/banner.png | ||
:alt: listparser: Parse OPML subscription lists in Python. | ||
|
||
|
4 changes: 4 additions & 0 deletions
4
changelog.d/20250105_142751_kurtmckee_use_pep_621_metadata.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Development | ||
----------- | ||
|
||
* Migrate to PEP 621 metadata in ``pyproject.toml``. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,35 +2,37 @@ | |
requires = ["poetry-core>=1.0.0"] | ||
build-backend = "poetry.core.masonry.api" | ||
|
||
|
||
# poetry | ||
# ------ | ||
|
||
[tool.poetry] | ||
[project] | ||
name = "listparser" | ||
version = "0.20" | ||
description = "Parse OPML subscription lists" | ||
authors = ["Kurt McKee <[email protected]>"] | ||
authors = [ | ||
{ name = "Kurt McKee", email = "[email protected]" }, | ||
] | ||
license = "MIT" | ||
readme = "README.rst" | ||
repository = "https://github.com/kurtmckee/listparser/" | ||
documentation = "https://listparser.readthedocs.io/en/latest/" | ||
keywords = ["opml", "foaf", "feed"] | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: MIT License", | ||
"Programming Language :: Python :: 3", | ||
"Topic :: Text Processing :: Markup :: XML", | ||
] | ||
requires-python = ">=3.9" | ||
|
||
[tool.poetry.dependencies] | ||
python = ">=3.9" | ||
# The dependencies here must match the minimums tested in `tox.ini`. | ||
requests = {version = ">=2.32.0,<3", optional = true} | ||
lxml = {version = ">=4.6.2,<6", optional = true} | ||
[project.urls] | ||
Repository = "https://github.com/kurtmckee/listparser/" | ||
Documentation = "https://listparser.readthedocs.io/en/latest/" | ||
|
||
[tool.poetry.extras] | ||
http = ["requests"] | ||
lxml = ["lxml"] | ||
[project.optional-dependencies] | ||
# The dependencies here must match the minimums tested in `tox.ini`. | ||
http = [ | ||
"requests >=2.32.0, <3", | ||
] | ||
lxml = [ | ||
"lxml >=4.6.2, <6", | ||
] | ||
|
||
|
||
# coverage | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
lxml-stubs==0.5.1 ; python_version >= "3.9" | ||
mypy-extensions==1.0.0 ; python_version >= "3.9" | ||
mypy==1.14.0 ; python_version >= "3.9" | ||
mypy==1.14.1 ; python_version >= "3.9" | ||
tomli==2.2.1 ; python_version < "3.11" and python_version >= "3.9" | ||
types-requests==2.32.0.20241016 ; python_version >= "3.9" | ||
types-toml==0.10.8.20240310 ; python_version >= "3.9" | ||
typing-extensions==4.12.2 ; python_version >= "3.9" | ||
urllib3==2.2.3 ; python_version >= "3.9" | ||
urllib3==2.3.0 ; python_version >= "3.9" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# This file is part of listparser. | ||
# Copyright 2009-2024 Kurt McKee <[email protected]> | ||
# Copyright 2009-2025 Kurt McKee <[email protected]> | ||
# SPDX-License-Identifier: MIT | ||
# | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# This file is part of listparser. | ||
# Copyright 2009-2024 Kurt McKee <[email protected]> | ||
# Copyright 2009-2025 Kurt McKee <[email protected]> | ||
# SPDX-License-Identifier: MIT | ||
# | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# This file is part of listparser. | ||
# Copyright 2009-2024 Kurt McKee <[email protected]> | ||
# Copyright 2009-2025 Kurt McKee <[email protected]> | ||
# SPDX-License-Identifier: MIT | ||
# | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# This file is part of listparser. | ||
# Copyright 2009-2024 Kurt McKee <[email protected]> | ||
# Copyright 2009-2025 Kurt McKee <[email protected]> | ||
# SPDX-License-Identifier: MIT | ||
# | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# This file is part of listparser. | ||
# Copyright 2009-2024 Kurt McKee <[email protected]> | ||
# Copyright 2009-2025 Kurt McKee <[email protected]> | ||
# SPDX-License-Identifier: MIT | ||
# | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# This file is part of listparser. | ||
# Copyright 2009-2024 Kurt McKee <[email protected]> | ||
# Copyright 2009-2025 Kurt McKee <[email protected]> | ||
# SPDX-License-Identifier: MIT | ||
# | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# This file is part of listparser. | ||
# Copyright 2009-2024 Kurt McKee <[email protected]> | ||
# Copyright 2009-2025 Kurt McKee <[email protected]> | ||
# SPDX-License-Identifier: MIT | ||
# | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# This file is part of listparser. | ||
# Copyright 2009-2024 Kurt McKee <[email protected]> | ||
# Copyright 2009-2025 Kurt McKee <[email protected]> | ||
# SPDX-License-Identifier: MIT | ||
# | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# This file is part of listparser. | ||
# Copyright 2009-2024 Kurt McKee <[email protected]> | ||
# Copyright 2009-2025 Kurt McKee <[email protected]> | ||
# SPDX-License-Identifier: MIT | ||
# | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# This file is part of listparser. | ||
# Copyright 2009-2024 Kurt McKee <[email protected]> | ||
# Copyright 2009-2025 Kurt McKee <[email protected]> | ||
# SPDX-License-Identifier: MIT | ||
# | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# This file is part of listparser. | ||
# Copyright 2009-2024 Kurt McKee <[email protected]> | ||
# Copyright 2009-2025 Kurt McKee <[email protected]> | ||
# SPDX-License-Identifier: MIT | ||
# | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters