set versions in ARTIQ conda package
This commit is contained in:
parent
b01ba6c43a
commit
06a25ce4ab
@ -80,6 +80,7 @@
|
||||
cat << EOF > conda/${constituent.name}/build.sh
|
||||
#!/bin/bash
|
||||
set -e
|
||||
${constituent.preSetup or ""}
|
||||
python setup.py install \
|
||||
--prefix=\$PREFIX \
|
||||
--single-version-externally-managed \
|
||||
@ -117,6 +118,11 @@
|
||||
name = "artiq";
|
||||
version = artiq.packages.x86_64-linux.artiq.version;
|
||||
src = artiq.packages.x86_64-linux.artiq.src;
|
||||
preSetup =
|
||||
''
|
||||
export VERSIONEER_OVERRIDE=${artiq.packages.x86_64-linux.artiq.version}
|
||||
export VERSIONEER_REV=${artiq.sourceInfo.rev}
|
||||
'';
|
||||
dependencies = [
|
||||
"pythonparser"
|
||||
"scipy"
|
||||
|
Loading…
Reference in New Issue
Block a user