Skip to content

Commit

Permalink
Refactored the wheel convert command to not require setuptools (#640)
Browse files Browse the repository at this point in the history
This also aims to improve the correctness of the egg and bdist_wininst conversions.
  • Loading branch information
agronholm authored Nov 8, 2024
1 parent e43464d commit c81f5c9
Show file tree
Hide file tree
Showing 5 changed files with 510 additions and 235 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ repos:
- id: end-of-file-fixer
- id: mixed-line-ending
args: ["--fix=lf"]
- id: requirements-txt-fixer
- id: trailing-whitespace
exclude: "tests/cli/test_convert.py"

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.9
Expand Down
1 change: 1 addition & 0 deletions docs/news.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Release Notes

**UNRELEASED**

- Refactored the ``convert`` command to not need setuptools to be installed
- Added a redirection from ``wheel.bdist_wheel.bdist_wheel`` to
``setuptools.command.bdist_wheel.bdist_wheel`` to improve compatibility with
``setuptools``' latest fixes.
Expand Down
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ build-backend = "flit_core.buildapi"
name = "wheel"
description = "A built-package format for Python"
readme = "README.rst"
license = {file = "LICENSE.txt"}
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
Expand Down Expand Up @@ -89,6 +90,9 @@ exclude_also = [

[tool.coverage.report]
show_missing = true
exclude_also = [
"@abstractmethod",
]

[tool.ruff]
extend-exclude = ["src/wheel/vendored"]
Expand Down
Loading

0 comments on commit c81f5c9

Please sign in to comment.