Skip to content

Commit

Permalink
Migrate Python package metadata to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelgrinberg committed Oct 15, 2023
1 parent 36e85e8 commit 52a13b1
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 40 deletions.
6 changes: 4 additions & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
include README.md LICENSE
recursive-include tests *.py
include README.md LICENSE tox.ini
recursive-include docs *
recursive-exclude docs/_build *
recursive-include tests *
exclude **/*.pyc
45 changes: 43 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,47 @@
[project]
name = "Flask-HTTPAuth"
version = "4.8.1.dev0"
authors = [
{ name = "Miguel Grinberg", email = "[email protected]" },
]
description = "HTTP authentication for Flask routes"
classifiers = [
"Environment :: Web Environment",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: Implementation :: MicroPython",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"flask",
]

[project.readme]
file = "README.md"
content-type = "text/markdown"

[project.urls]
Homepage = "https://github.com/miguelgrinberg/flask-httpauth"
"Bug Tracker" = "https://github.com/miguelgrinberg/flask-httpauth/issues"

[project.optional-dependencies]
docs = [
"sphinx",
]

[tool.setuptools]
zip-safe = false
include-package-data = true
py-modules = [
"flask_httpauth",
]

[tool.setuptools.package-dir]
"" = "src"

[build-system]
requires = [
"setuptools>=42",
"wheel"
"setuptools>=61.2",
]
build-backend = "setuptools.build_meta"
33 changes: 0 additions & 33 deletions setup.cfg

This file was deleted.

3 changes: 0 additions & 3 deletions setup.py

This file was deleted.

0 comments on commit 52a13b1

Please sign in to comment.