Updated venv target in Makefile.
epsi-builds/msspec_python3/pipeline/head This commit looks good Details

The 'venv' target has been modified to ensure that
setuptools is at the latest version, otherwise the
docker image could not be created.

Dockerfile was modified to pull the master branch
instead of the devel one.
This commit is contained in:
Sylvain Tricot 2021-09-27 15:50:52 +02:00
parent d6882b57b9
commit 8269d35420
2 changed files with 7 additions and 2 deletions

View File

@ -13,7 +13,7 @@ RUN mkdir -p /opt/msspec/code
WORKDIR /opt/msspec/code
# Fetch the code
RUN git clone --branch devel https://git.ipr.univ-rennes1.fr/epsi/msspec_python3.git .
RUN git clone https://git.ipr.univ-rennes1.fr/epsi/msspec_python3.git .
#COPY --chown=msspec:msspec . .
# Install msspec

View File

@ -11,7 +11,12 @@ pybinding:
venv:
ifeq ($(NO_VENV),0)
@virtualenv --python=$(PYTHON_EXE) --prompt="(msspec-$(VERSION)) " $(VENV_PATH)
$(INSIDE_VENV) wget https://bootstrap.pypa.io/get-pip.py && python get-pip.py && pip install -r src/pip.freeze && rm -f get-pip.py
$(INSIDE_VENV) \
wget https://bootstrap.pypa.io/get-pip.py && \
python get-pip.py && \
pip install --upgrade setuptools && \
pip install -r src/pip.freeze && \
rm -f get-pip.py
endif