Fix travis install
This commit is contained in:
16
install
16
install
@@ -462,11 +462,17 @@ wo_travis_install() {
|
|||||||
rm -rf dist
|
rm -rf dist
|
||||||
fi
|
fi
|
||||||
if [ -f ./setup.py ]; then
|
if [ -f ./setup.py ]; then
|
||||||
python3 setup.py sdist bdist_wheel
|
if [ -d /opt/wo ]; then
|
||||||
mkdir -p /opt/wo
|
cd /opt/wo || exit 1
|
||||||
python3 -m venv --system-site-packages /opt/wo
|
source bin/activate
|
||||||
source /opt/wo/bin/activate
|
else
|
||||||
python3 -m pip install --upgrade dist/*.whl
|
mkdir -p /opt/wo
|
||||||
|
cd /opt || exit 1
|
||||||
|
python3 -m venv --system-site-packages wo
|
||||||
|
source wo/bin/activate
|
||||||
|
fi
|
||||||
|
python3 -m pip install -U pip setuptools wheel
|
||||||
|
python3 -m pip install -U "git+git://github.com/WordOps/WordOps.git@$wo_branch#egg=wordops"
|
||||||
else
|
else
|
||||||
python3 -m pip install -U "git+git://github.com/WordOps/WordOps.git@$wo_branch#egg=wordops"
|
python3 -m pip install -U "git+git://github.com/WordOps/WordOps.git@$wo_branch#egg=wordops"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user