Skip to content

Commit

Permalink
Cleanup pyproject (python-poetry#589)
Browse files Browse the repository at this point in the history
(cherry picked from commit 27c4194)
  • Loading branch information
Secrus authored and radoering committed May 22, 2023
1 parent 0540625 commit 52f479a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 22 deletions.
2 changes: 1 addition & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 9 additions & 21 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,34 +3,21 @@ name = "poetry-core"
version = "1.6.0"
description = "Poetry PEP 517 Build Backend"
authors = ["Sébastien Eustace <sebastien@eustace.io>"]

license = "MIT"

readme = "README.md"

homepage = "https://github.com/python-poetry/poetry-core"
repository = "https://github.com/python-poetry/poetry-core"

keywords = ["packaging", "dependency", "poetry"]

classifiers = [
"Topic :: Software Development :: Build Tools",
"Topic :: Software Development :: Libraries :: Python Modules"
]

packages = [
{ include = "poetry", from = "src" },
]
include = [
{ path = "tests", format = "sdist" },
]
exclude = [
"**/*.pyc",
"**/*.pyi",
]

[tool.poetry.build]
generate-setup-file = false

[tool.poetry.urls]
"Bug Tracker" = "https://github.com/python-poetry/poetry/issues"
Expand All @@ -41,18 +28,21 @@ python = "^3.7"
# required for compatibility
importlib-metadata = {version = ">=1.7.0", python = "<3.8"}

[tool.poetry.dev-dependencies]
[tool.poetry.group.dev.dependencies]
pre-commit = ">=2.15.0"
pyrsistent = ">=0.18.0"
pytest = ">=7.1.2"
pytest-cov = ">=3.0.0"
pytest-mock = ">=3.5"
tox = ">=3.0"
vendoring = {version = ">=1.0", python = "^3.8"}

[tool.poetry.group.test.dependencies]
pytest = ">=7.1.2"
pytest-cov = ">=3.0.0"
pytest-mock = ">=3.10"
build = ">=0.10.0"
mypy = ">=1.0"
setuptools = ">=60"
tomli-w = "^1.0.0"

[tool.poetry.group.typing.dependencies]
mypy = ">=1.0"
types-jsonschema = ">=4.4.4"
types-setuptools = ">=57.4.14"

Expand Down Expand Up @@ -102,9 +92,7 @@ required-imports = ["from __future__ import annotations"]


[tool.black]
line-length = 88
preview = true
include = '\.pyi?$'
extend-exclude = "src/poetry/core/_vendor/*"


Expand Down

0 comments on commit 52f479a

Please sign in to comment.