Commit ca9fba78 authored by Duncan Macleod's avatar Duncan Macleod
Browse files

Merge branch 'venv' into 'master'

Use standard library venv instead of third party virtualenv package

See merge request lscsoft/lalsuite!1321
parents 461c11df 16857683
......@@ -968,8 +968,9 @@ platform:macos:sierra:
# Bundle and fix up dependent shared libraries
- auditwheel repair wheel/*.whl
# Test: do some simple sanity checks in a virtualenv
- ${PYPREFIX}/bin/virtualenv test
- ${PYPREFIX}/bin/python -m venv test
- source test/bin/activate
- pip install --upgrade pip
- pip install wheelhouse/*
- python -c 'import lal, lalframe, lalmetaio, lalsimulation; series = lal.CreateREAL8FrequencySeries("psd", 0, 0, 1, None, 4096); lalsimulation.SimNoisePSDaLIGOAPlusDesignSensitivityT1800042(series, 10)'
needs: []
......@@ -989,7 +990,7 @@ platform:macos:sierra:
script:
- PYVERS=$(echo ${CI_JOB_NAME} | sed 's/.*:cp\(.\)\(.\).*/\1.\2/')
# Enter virtualenv so that we have a controlled version of Numpy
- virtualenv-${PYVERS} env
- python${PYVERS} -m venv env
- source env/bin/activate
- python -m pip install
git+https://github.com/lpsinger/delocate@fix-duplicate-libs
......@@ -1001,7 +1002,7 @@ platform:macos:sierra:
# Bundle and fix up dependent shared libraries
- delocate-wheel -v -w wheelhouse wheel/*.whl
# Test: do some simple sanity checks in a virtualenv
- virtualenv-${PYVERS} test
- python${PYVERS} -m venv test
- source test/bin/activate
- python -m pip install wheelhouse/*
- python -c 'import lal, lalframe, lalmetaio, lalsimulation; series = lal.CreateREAL8FrequencySeries("psd", 0, 0, 1, None, 4096); lalsimulation.SimNoisePSDaLIGOAPlusDesignSensitivityT1800042(series, 10)'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment