Skip to content
Snippets Groups Projects

L2SS-951: Disable site-packages and install pytango in tox

Merged L2SS-951: Disable site-packages and install pytango in tox
Merged Corné Lukken requested to merge L2SS-951 into master
Files
16
+ 3
3
@@ -35,10 +35,10 @@ else
# Install the package, exit 1 if it fails
# pip install ./ will _NOT_ install dependencies in requirements.txt!
rm -rf /tmp/tangostationcontrol
cp -R /opt/lofar/tango/tangostationcontrol /tmp/
# Ideally we would use git copy but it can't copy on subdirectory level
# DO NOT PUT SPACES IN THE EXCLUDE LIST!
rsync -av --progress --exclude={".tox","*.egg-info","dist","build",".git","*.pyc"} /opt/lofar/tango/tangostationcontrol /tmp/
cd /tmp/tangostationcontrol || exit 1
# Remove the build directory if copied from the source
rm -rf build
pip -vvv install --upgrade --force-reinstall ./
fi
Loading