workaround for seisbench version

This commit is contained in:
Yann Dupont 2023-04-07 17:53:14 +02:00
parent 71c8a4d82c
commit 5a8e60a12b

View file

@ -86,8 +86,18 @@
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
`(#:phases (modify-phases %standard-phases `(#:phases (modify-phases %standard-phases
(delete 'check)(delete 'sanity-check)))) (delete 'check)
(delete 'sanity-check)
(add-before 'build 'pretend-version
;; The version string is usually derived via setuptools-scm, but
;; without the git metadata available, the version string is set to
;; '0.0.0'.
(lambda _
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
)))
(propagated-inputs (list python-h5py (propagated-inputs (list python-h5py
python-nest-asyncio python-nest-asyncio
python-numpy python-numpy