mirror of
https://github.com/chatmail/core.git
synced 2026-05-13 11:56:30 +03:00
scripts/run_all.sh cleanup
There is no need to add symlinks to /bin, /usr/local/bin containing all python versions is already in the PATH of manylinux container.
This commit is contained in:
@@ -5,7 +5,6 @@
|
|||||||
set -e -x
|
set -e -x
|
||||||
|
|
||||||
# Perform clean build of core and install.
|
# Perform clean build of core and install.
|
||||||
export TOXWORKDIR=.docker-tox
|
|
||||||
|
|
||||||
# compile core lib
|
# compile core lib
|
||||||
|
|
||||||
@@ -21,17 +20,8 @@ export DCC_RS_TARGET=release
|
|||||||
# needed by tox below.
|
# needed by tox below.
|
||||||
export PATH=$PATH:/opt/python/cp37-cp37m/bin
|
export PATH=$PATH:/opt/python/cp37-cp37m/bin
|
||||||
export PYTHONDONTWRITEBYTECODE=1
|
export PYTHONDONTWRITEBYTECODE=1
|
||||||
pushd /bin
|
|
||||||
rm -f python3.7
|
|
||||||
ln -s /opt/python/cp37-cp37m/bin/python3.7
|
|
||||||
rm -f python3.8
|
|
||||||
ln -s /opt/python/cp38-cp38/bin/python3.8
|
|
||||||
rm -f python3.9
|
|
||||||
ln -s /opt/python/cp39-cp39/bin/python3.9
|
|
||||||
rm -f python3.10
|
|
||||||
ln -s /opt/python/cp310-cp310/bin/python3.10
|
|
||||||
popd
|
|
||||||
|
|
||||||
|
TOXWORKDIR=.docker-tox
|
||||||
pushd python
|
pushd python
|
||||||
# prepare a clean tox run
|
# prepare a clean tox run
|
||||||
rm -rf tests/__pycache__
|
rm -rf tests/__pycache__
|
||||||
|
|||||||
Reference in New Issue
Block a user