Skip to content

Commit

Permalink
Update holidays package metadata (#2063)
Browse files Browse the repository at this point in the history
  • Loading branch information
arkid15r authored Oct 17, 2024
1 parent 15fc197 commit ce852f7
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 14 deletions.
27 changes: 16 additions & 11 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,38 +1,43 @@
[project]
name = "holidays"
description = "Generate and work with holidays in Python"
license = { file = "LICENSE" }
description = "World Holidays Framework"
license = { "text" = "MIT" }
readme = "README.rst"
requires-python = ">=3.9"
dynamic = ["version"]

authors = [{ email = "[email protected]", name = "Maurizio Montel" }]
authors = [{ name = "Vacanza Team" }]
dependencies = ["python-dateutil"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Financial and Insurance Industry",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: File Formats :: JSON",
"Topic :: Office/Business :: Financial :: Accounting",
"Topic :: Office/Business :: Financial :: Investment",
"Topic :: Office/Business :: Scheduling",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Localization",
]
keywords = ["holidays", "calendar", "l10n"]
keywords = ["holidays", "calendar", "l10n", "worldwide", "vacation"]
maintainers = [
{ email = "[email protected]", name = "Arkadii Yakovets" },
{ email = "[email protected]", name = "Serhii Murza" },
{ name = "Arkadii Yakovets" },
{ name = "Panpakorn Siripanich" },
{ name = "Serhii Murza" },
]

[project.urls]
Repository = "https://github.com/vacanza/holidays/"
Documentation = "https://holidays.readthedocs.io/en/latest/"
Changelog = "https://github.com/vacanza/holidays/releases"
Downloads = "https://pypi.org/project/holidays/"
Repository = "https://github.com/vacanza/holidays/"
Changelog = "https://github.com/vacanza/holidays/releases/"

[tool.bandit]
exclude_dirs = ["docs", "tests"]
Expand Down
9 changes: 6 additions & 3 deletions tests/test_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,25 @@ def test_metadata(self):

for attr_name, attr_value in {
"name": "holidays",
"summary": "Generate and work with holidays in Python",
"summary": "World Holidays Framework",
"version": holidays.__version__,
}.items():
self.assertIn(attr_name, ph_metadata)
self.assertEqual(ph_metadata[attr_name], attr_value, attr_name)

for attr_name in (
"author-email",
"classifier",
"description",
"keywords",
"license",
"license-file",
"maintainer-email",
"maintainer",
"project-url",
"requires-python",
):
self.assertIn(attr_name, ph_metadata)
self.assertTrue(ph_metadata[attr_name], attr_name)

if attr_name == "maintainer":
for maintainer in ("Arkadii Yakovets", "Panpakorn Siripanich", "Serhii Murza"):
self.assertIn(maintainer, ph_metadata["maintainer"])

0 comments on commit ce852f7

Please sign in to comment.