Skip to content
Merged
Show file tree
Hide file tree
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
5 changes: 5 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Release Notes

## 0.32.3

This release switches from a bespoke lock embedding in dev-cmd distributuons to use of the
`pex.build_backend.wrap` delegating backend to embed the dev-cmd lock.

## 0.32.2

This release fixes the dev-cmd wheel `RECORD` metadata to be Windows compatible.
Expand Down
2 changes: 0 additions & 2 deletions build-backend/dev_cmd_build/__init__.py

This file was deleted.

2 changes: 0 additions & 2 deletions build-backend/dev_cmd_build/setuptools/__init__.py

This file was deleted.

118 changes: 0 additions & 118 deletions build-backend/dev_cmd_build/setuptools/build.py

This file was deleted.

2 changes: 1 addition & 1 deletion dev_cmd/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 John Sirois.
# Licensed under the Apache License, Version 2.0 (see LICENSE).

__version__ = "0.32.2"
__version__ = "0.32.3"
29 changes: 26 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,30 @@
[build-system]
requires = ["setuptools"]
backend-path = ["build-backend", ""]
build-backend = "dev_cmd_build.setuptools.build"
requires = [
# 1st publication of pex.build_backend.wrap was in Pex 2.50.0.
"pex>=2.50",

# 1st support for license expressions was in setuptools 77.0.0.
"setuptools>=77",
]
build-backend = "pex.build_backend.wrap"

[tool.pex.build_backend]
delegate-build-backend = "setuptools.build_meta"

[[tool.pex.build_backend.script-locks]]
command = [
"uv",
"export",
"--format",
"pylock.toml",
"--no-header",
"--no-emit-project",
"--all-extras",
"--no-dev",
"-q",
"-o",
"{lock_path}",
]

[project]
name = "dev-cmd"
Expand Down