Clean up modern Ubuntu development install authored by Alan De Smet's avatar Alan De Smet
...@@ -107,8 +107,7 @@ The resulting executable is in glance/anaconda/bin/glance ...@@ -107,8 +107,7 @@ The resulting executable is in glance/anaconda/bin/glance
Minimal Development Install for Ubuntu and other Linux distributions Minimal Development Install for Ubuntu and other Linux distributions
==================================================================== ====================================================================
***THIS IS A WORK IN PROGRESS*** (Verified on 2022-09-29 by Alan De Smet on the ubuntu:22.04 docker image, using the optional "Using distribution provided dependencies" step)
You will need: You will need:
...@@ -118,7 +117,7 @@ You will need: ...@@ -118,7 +117,7 @@ You will need:
- python3-dev (python3's development support) - python3-dev (python3's development support)
- build-essential (gcc, g++, make) - build-essential (gcc, g++, make)
- cmake - cmake
- libgeos-dev (what you need to build/link against libgeos)
On Debian or Ubuntu, this might do the job if you have sudo access: On Debian or Ubuntu, this might do the job if you have sudo access:
...@@ -142,10 +141,9 @@ If you want the GUI, add python3-pyqt5: ...@@ -142,10 +141,9 @@ If you want the GUI, add python3-pyqt5:
``` ```
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y python3-pyqt5 sudo DEBIAN_FRONTEND=noninteractive apt-get install -y python3-pyqt5
``` ```
</details> </details>
Finally, as a user install glance. If you want to force a local install, perhaps for testing, omit `--system-site-packages`. Run these as your normal user: If you want to force a local install, perhaps for testing, omit `--system-site-packages`. Run these as your normal user:
``` ```
git clone https://gitlab.ssec.wisc.edu/evas/UW-Glance.git glance git clone https://gitlab.ssec.wisc.edu/evas/UW-Glance.git glance
...@@ -164,26 +162,3 @@ cd ../.. ...@@ -164,26 +162,3 @@ cd ../..
At this point glance can be run as `glance/venv/bin/glance` At this point glance can be run as `glance/venv/bin/glance`
Minimal Development Install for Ubuntu 22.04 (Using root)
=========================================================
(Verified on 2022-09-29 by Alan De Smet on the ubuntu:22.04 docker image)
```
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y python3-pyqt5
```
```
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y build-essential python3-numpy python3-matplotlib python3-mako python3-mock python3-scipy python3-pil python3-cartopy python3-pil python3-netcdf4 python3-h5py libgeos-dev python3-venv python3.10-venv python3-setuptools-whl python3-pip-whl git
git clone https://gitlab.ssec.wisc.edu/evas/UW-Glance.git glance
cd glance
python3 -mvenv --system-site-packages venv
. venv/bin/activate
cd pyglance
python3 setup.py develop
deactivate
cd ../..
```
At this point glance can be run as `glance/venv/bin/glance`