Adding temporary script that fixes all Python extensions w/ 'setup_py'.

This commit is contained in:
Joseph Ciurej
2016-07-22 11:17:19 -07:00
parent ac2e0962ce
commit fa92f58167
2 changed files with 10 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
#!/bin/bash --noprofile
PYEXT_REGEX=".*/.*/package.py"
find var/spack/repos/builtin/packages/ -type f -regextype sed -regex ${PYEXT_REGEX} -exec \
sed -i 's/python('\''setup.py'\'', /setup_py(/' {} \;