From bcef949688c29f2bed74609fcc86af3abf9d9f02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Tue, 22 Jun 2021 10:32:46 +0200 Subject: [PATCH 1/3] PEP 660: update title To distinguish from PEP 662. --- pep-0660.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pep-0660.rst b/pep-0660.rst index a0eed42c1f8..e344b014dc7 100644 --- a/pep-0660.rst +++ b/pep-0660.rst @@ -1,5 +1,5 @@ PEP: 660 -Title: Editable installs for pyproject.toml based builds +Title: Editable installs for pyproject.toml based builds (wheel based) Author: Daniel Holth , Stéphane Bidoul Sponsor: Paul Moore Discussions-To: https://discuss.python.org/t/draft-pep-editable-installs-for-pep-517-style-build-backends/8510 From 288925914a37a6510e01d8852cbf6aa589a8bdfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Tue, 22 Jun 2021 10:32:53 +0200 Subject: [PATCH 2/3] PEP 660: add links to prototypes --- pep-0660.rst | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/pep-0660.rst b/pep-0660.rst index e344b014dc7..31720691423 100644 --- a/pep-0660.rst +++ b/pep-0660.rst @@ -202,6 +202,26 @@ With regard to the wheel ``.data`` directory, this PEP focuses on making the ``console_scripts``, make their ``scripts`` tiny wrappers around library functionality, or manage these from the source checkout during development. +Prototypes +========== + +At the time of writing this PEP, several prototype implementations are +available in various frontends and backends. We provide links below to +illustrate possible approaches. + +Frontends: + +- pip (`pull request `__) + +Build backends: + +- enscons (`pull request 1 `__, + `pull request 2 `__) +- flit (`pull request `__) +- hatchling (`sdist `__) +- pdm (`pull request `__) +- setuptools (`setuptools_pep660 repository `_) + Rejected ideas ============== From e964eeaa2921b44aa8c43de93d547f82f63e8916 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Tue, 22 Jun 2021 10:50:49 +0200 Subject: [PATCH 3/3] PEP 660: there are actually two hooks, not one --- pep-0660.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pep-0660.rst b/pep-0660.rst index 31720691423..9dea9d62e8b 100644 --- a/pep-0660.rst +++ b/pep-0660.rst @@ -79,8 +79,8 @@ encouraged to document such potential differences. The Mechanism ============= -This PEP adds a single optional hook to the PEP 517 backend interface. The hook -is used to build a wheel that, when installed, allows that distribution to be +This PEP adds two optional hooks to the PEP 517 backend interface. These hooks +are used to build a wheel that, when installed, allows that distribution to be imported from its source folder. build_wheel_for_editable