Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Commit fd0ec5f

Browse files
huijunwuhuijunw
andauthored
Fix Jenkins Doc generation (#3572)
* fix doc CI * update py3 * update pip3 Co-authored-by: Huijun Wu <[email protected]>
1 parent 14bc58b commit fd0ec5f

File tree

2 files changed

+21
-20
lines changed

2 files changed

+21
-20
lines changed

website2/website/scripts/Dockerfile.ubuntu18.04

+18-17
Original file line numberDiff line numberDiff line change
@@ -23,28 +23,29 @@ ENV bazelVersion 3.0.0
2323

2424

2525
RUN apt-get update && apt-get -y install \
26-
g++ \
27-
cmake \
26+
ant \
2827
automake \
28+
cmake \
29+
curl \
30+
curl \
31+
g++ \
32+
git \
33+
libcppunit-dev \
2934
libtool-bin \
3035
libunwind8 \
31-
patch \
32-
python-dev \
33-
wget \
34-
zip \
35-
virtualenv \
36-
unzip \
37-
git \
38-
curl \
3936
openjdk-11-jdk-headless \
37+
patch \
38+
python3 \
39+
python3-dev \
40+
python3-pip \
41+
python3-setuptools \
42+
python3-wheel \
43+
sudo \
4044
tree \
41-
python-setuptools \
42-
python-dev \
43-
python-wheel \
44-
python \
45-
python-pip \
46-
curl \
47-
sudo
45+
unzip \
46+
virtualenv \
47+
wget \
48+
zip
4849

4950
RUN curl -sL https://deb.nodesource.com/setup_13.x | sudo -E bash -
5051

website2/website/scripts/python-doc-gen.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ PIP_LOCATION=${HERON_ROOT_DIR}/bazel-bin/scripts/packages
3838

3939
virtualenv "$VENV"
4040
source "$VENV/bin/activate"
41-
pip install pdoc==0.3.2
42-
pip install --ignore-installed six
41+
pip3 install pdoc==0.3.2
42+
pip3 install --ignore-installed six
4343
# Install the heronpy
4444
echo "list heronpy location"
4545
ls $PIP_LOCATION
46-
pip install $PIP_LOCATION/heronpy-*-py2.py3-none-any.whl
46+
pip3 install $PIP_LOCATION/heronpy-*-py3-none-any.whl
4747

4848

4949
mkdir -p static/api && rm -rf static/api/python

0 commit comments

Comments
 (0)