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 6f3f889 commit d70e25c
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 40 deletions.
7 changes: 5 additions & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
include README.md
include LICENSE
include README.md LICENSE tox.ini
recursive-include docs *
recursive-exclude docs/_build *
recursive-include tests *
exclude **/*.pyc
include src/flask_migrate/templates/flask/*
include src/flask_migrate/templates/flask-multidb/*
include src/flask_migrate/templates/aioflask/*
Expand Down
48 changes: 46 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,50 @@
[project]
name = "Flask-Migrate"
version = "4.0.6.dev0"
authors = [
{ name = "Miguel Grinberg", email = "miguel.grinberg@gmail.com" },
]
description = "SQLAlchemy database migrations for Flask applications using Alembic."
classifiers = [
"Environment :: Web Environment",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
requires-python = ">=3.6"
dependencies = [
"Flask >= 0.9",
"Flask-SQLAlchemy >= 1.0",
"alembic >= 1.9.0",
]

[project.license]
text = "MIT"

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

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

[tool.setuptools]
zip-safe = false
include-package-data = true

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

[tool.setuptools.packages.find]
where = [
"src",
]
namespaces = true

[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 d70e25c

Please sign in to comment.