Skip to content

Commit c81f5c9

Browse files
authored
Refactored the wheel convert command to not require setuptools (#640)
This also aims to improve the correctness of the egg and bdist_wininst conversions.
1 parent e43464d commit c81f5c9

File tree

5 files changed

+510
-235
lines changed

5 files changed

+510
-235
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ repos:
1414
- id: end-of-file-fixer
1515
- id: mixed-line-ending
1616
args: ["--fix=lf"]
17-
- id: requirements-txt-fixer
1817
- id: trailing-whitespace
18+
exclude: "tests/cli/test_convert.py"
1919

2020
- repo: https://github.com/astral-sh/ruff-pre-commit
2121
rev: v0.6.9

docs/news.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ Release Notes
33

44
**UNRELEASED**
55

6+
- Refactored the ``convert`` command to not need setuptools to be installed
67
- Added a redirection from ``wheel.bdist_wheel.bdist_wheel`` to
78
``setuptools.command.bdist_wheel.bdist_wheel`` to improve compatibility with
89
``setuptools``' latest fixes.

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ build-backend = "flit_core.buildapi"
66
name = "wheel"
77
description = "A built-package format for Python"
88
readme = "README.rst"
9+
license = {file = "LICENSE.txt"}
910
classifiers = [
1011
"Development Status :: 5 - Production/Stable",
1112
"Intended Audience :: Developers",
@@ -89,6 +90,9 @@ exclude_also = [
8990

9091
[tool.coverage.report]
9192
show_missing = true
93+
exclude_also = [
94+
"@abstractmethod",
95+
]
9296

9397
[tool.ruff]
9498
extend-exclude = ["src/wheel/vendored"]

0 commit comments

Comments
 (0)