Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 15 additions & 14 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
[build-system]
requires = ["flit_core >=2,<4"]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"

[tool.flit.metadata]
module = "modernize"
author = "Armin Ronacher"
author-email = "[email protected]"
maintainer = "PyCQA"
maintainer-email = "[email protected]"
home-page = "https://github.com/PyCQA/modernize"
[project]
name = "modernize"
readme = "README.rst"
requires-python = "~=3.6"
authors = [{name = "Armin Ronacher", email = "[email protected]"}]
maintainers = [{name = "PyCQA", email = "[email protected]"}]
classifiers = [
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
Expand All @@ -18,11 +17,10 @@ classifiers = [
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
]
description-file = "README.rst"
requires = ["fissix"]
requires-python = "~=3.6"
dependencies = ["fissix"]
dynamic = ["version", "description"]

[tool.flit.metadata.requires-extra]
[project.optional-dependencies]
docs = [
"alabaster~=0.7.12",
"commonmark~=0.9.1",
Expand All @@ -36,7 +34,11 @@ docs = [
]
test = ["pytest", "pytest-cov", "coverage>=5.3"]

[tool.flit.scripts]
[project.urls]
Development = "https://github.com/PyCQA/modernize"
Documentation = "https://modernize.readthedocs.io"

[project.scripts]
modernize = "modernize.main:main"
python-modernize = "modernize.main:main"

Expand Down Expand Up @@ -68,7 +70,6 @@ source = [
'.tox\\*\\Lib\\site-packages\\',
]


[tool.tox]
legacy_tox_ini = """
; tox configuration file for running tests on local dev env and Travis CI.
Expand Down