From 13c1ed6a198985141f13fb1899bb5fc05f408915 Mon Sep 17 00:00:00 2001 From: Garek Dyszel Date: Wed, 7 Sep 2022 14:34:39 -0400 Subject: gnu: Add python-editables. * gnu/packages/python-build.scm (python-editables): New variable. Signed-off-by: Julien Lepiller --- gnu/packages/python-build.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm index e7023aca0c..9d9b07f769 100644 --- a/gnu/packages/python-build.scm +++ b/gnu/packages/python-build.scm @@ -7,6 +7,7 @@ ;;; Copyright © 2018, 2021, 2022 Maxim Cournoyer ;;; Copyright © 2021 Tobias Geerinckx-Rice ;;; Copyright © 2021, 2022 Ricardo Wurmus +;;; Copyright © 2022 Garek Dyszel ;;; ;;; This file is part of GNU Guix. ;;; @@ -474,3 +475,25 @@ system, then @code{flit_core} to build the package.") @dfn{software configuration management} (SCM) metadata instead of declaring them as the version argument or in a SCM managed file.") (license license:expat))) + +(define-public python-editables + (package + (name "python-editables") + (version "0.3") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/pfmoore/editables") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1gbfkgzmrmbd4ycshm09fr2wd4f1n9gq7s567jgkavhfkn7s2pn1")))) + (build-system python-build-system) + (home-page "https://github.com/pfmoore/editables") + (synopsis "Editable installations") + (description "This library supports the building of wheels which, when +installed, will expose packages in a local directory on @code{sys.path} in +``editable mode''. In other words, changes to the package source will be +reflected in the package visible to Python, without needing a reinstall.") + (license license:expat))) -- cgit 1.4.1