Use pip to install python deps, simplified configure.sh a bit

pull/1015/head
Piero Toffanin 2019-09-07 14:21:49 -04:00
rodzic 5efe8447dc
commit 0878fd9aca
3 zmienionych plików z 25 dodań i 34 usunięć

Wyświetl plik

@ -50,9 +50,7 @@ RUN apt-get install --no-install-recommends -y \
python-dev \
python-gdal \
python-matplotlib \
python-networkx \
python-pip \
python-pyproj \
python-software-properties \
python-wheel \
swig2.0 \
@ -67,18 +65,19 @@ RUN pip install -U \
exifread \
gpxpy \
loky \
numpy==1.15.4 \
psutil \
pyproj \
PyYAML==3.13 \
repoze.lru \
scipy==1.2.1 \
shapely \
xmltodict \
rasterio \
attrs==19.1.0 \
pyodm==1.5.2b1 \
Pillow \
networkx \
scipy==1.2.1 \
numpy==1.15.4 \
shapely \
pyproj \
psutil \
joblib
RUN pip install --upgrade cryptography && python -m easy_install --upgrade pyOpenSSL

Wyświetl plik

@ -28,7 +28,11 @@ install() {
libjsoncpp-dev \
python-gdal \
grass-core \
libssl-dev
libssl-dev \
liblas-bin \
swig2.0 \
python-wheel \
libboost-log-dev
echo "Getting CMake 3.1 for MVS-Texturing"
apt-get install -y software-properties-common python-software-properties
@ -42,7 +46,6 @@ install() {
libavformat-dev \
libswscale-dev \
python-dev \
python-numpy \
libtbb2 \
libtbb-dev \
libjpeg-dev \
@ -59,18 +62,15 @@ install() {
echo "Removing libdc1394-22-dev due to python opencv issue"
apt-get remove libdc1394-22-dev
## Installing OpenSfM Requisites
echo "Installing OpenSfM Dependencies"
apt-get install -y -qq python-networkx \
libgoogle-glog-dev \
apt-get install -y -qq libgoogle-glog-dev \
libsuitesparse-dev \
libboost-filesystem-dev \
libboost-iostreams-dev \
libboost-regex-dev \
libboost-python-dev \
libboost-date-time-dev \
libboost-thread-dev \
python-pyproj
libboost-thread-dev
pip install -U PyYAML==3.13 \
exifread \
@ -83,25 +83,18 @@ install() {
attrs==19.1.0 \
pyodm==1.5.2b1 \
Pillow \
networkx \
scipy==1.2.1 \
numpy==1.15.4 \
shapely \
pyproj \
psutil \
joblib
# Fix: /usr/local/lib/python2.7/dist-packages/requests/__init__.py:83: RequestsDependencyWarning: Old version of cryptography ([1, 2, 3]) may cause slowdown.
pip install --upgrade cryptography
python -m easy_install --upgrade pyOpenSSL
echo "Installing OpenDroneMap Dependencies"
apt-get install -y -qq python-scipy \
liblas-bin
echo "Installing lidar2dems Dependencies"
apt-get install -y -qq swig2.0 \
python-wheel \
libboost-log-dev
echo "Installing split-merge Dependencies"
pip install -U scipy==1.2.1 numpy==1.15.4 shapely pyproj psutil
echo "Compiling SuperBuild"
cd ${RUNPATH}/SuperBuild
mkdir -p build && cd build

Wyświetl plik

@ -50,9 +50,7 @@ RUN apt-get install --no-install-recommends -y \
python-dev \
python-gdal \
python-matplotlib \
python-networkx \
python-pip \
python-pyproj \
python-software-properties \
python-wheel \
swig2.0 \
@ -67,18 +65,19 @@ RUN pip install -U \
exifread \
gpxpy \
loky \
numpy==1.15.4 \
psutil \
pyproj \
PyYAML==3.13 \
repoze.lru \
scipy==1.2.1 \
shapely \
xmltodict \
rasterio \
attrs==19.1.0 \
pyodm==1.5.2b1 \
Pillow \
networkx \
scipy==1.2.1 \
numpy==1.15.4 \
shapely \
pyproj \
psutil \
joblib
RUN pip install --upgrade cryptography && python -m easy_install --upgrade pyOpenSSL