Skip to content

Commit

Permalink
Migrate more project metadata to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
acdha committed Oct 15, 2024
1 parent 4fd58d5 commit 68fc384
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 11 deletions.
20 changes: 20 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,26 @@
requires = ["setuptools>=64", "setuptools-scm>=8"]
build-backend = "setuptools.build_meta"

[project]
name = "bagit"
dynamic = ["version"]
description = "Create and validate BagIt packages"
readme = {file = "README.rst", content-type = "text/x-rst"}
authors = [
{ name = "Ed Summers", email = "[email protected]" },
]
classifiers = [
"Intended Audience :: Developers",
"License :: Public Domain",
"Programming Language :: Python :: 3",
"Topic :: Communications :: File Sharing",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Filesystems",
]

[project.urls]
Homepage = "https://libraryofcongress.github.io/bagit-python/"

[tool]

[tool.setuptools_scm]
Expand Down
11 changes: 0 additions & 11 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,24 +62,13 @@ def get_message_catalogs():
platforms=["POSIX"],
test_suite="test",
setup_requires=["setuptools_scm"],
install_requires=["importlib_metadata ; python_version < '3.8'"],
tests_require=tests_require,
classifiers=[
"License :: Public Domain",
"Intended Audience :: Developers",
"Topic :: Communications :: File Sharing",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Filesystems",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.1",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
],
)

0 comments on commit 68fc384

Please sign in to comment.