summaryrefslogtreecommitdiff
path: root/gnu/packages/python-build.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/python-build.scm')
-rw-r--r--gnu/packages/python-build.scm15
1 files changed, 15 insertions, 0 deletions
diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm
index 770b876af45..2e689b75412 100644
--- a/gnu/packages/python-build.scm
+++ b/gnu/packages/python-build.scm
@@ -806,6 +806,21 @@ system, then @code{flit_core} to build the package.")
them as the version argument or in a SCM managed file.")
(license license:expat)))
+(define-public python-setuptools-scm-bootstrap
+ (package/inherit python-setuptools-scm
+ (name "python-setuptools-scm-bootstrap")
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:tests? #f ;avoid extra dependencies such as pytest
+ ;; pyproject-build-system will error handle forms such as
+ ;; "module:object", so we set it.
+ #:build-backend "setuptools.build_meta"))
+ (native-inputs
+ (list python-packaging-bootstrap))
+ (propagated-inputs
+ (list python-setuptools-bootstrap))))
+
(define-public python-setuptools-scm-next
(package
(inherit python-setuptools-scm)