| ... | ... | @@ -179,45 +179,3 @@ At this point glance can be run as `glance/venv/bin/glance` |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Obsolete Installation Instructions
|
|
|
|
==================================
|
|
|
|
|
|
|
|
**Please note that Methods below this line may not work. They have not been tested since Glance moved to using Python 3.6.**
|
|
|
|
|
|
|
|
***************
|
|
|
|
|
|
|
|
Installing with Minimal Dependencies Using Pip
|
|
|
|
----------------------------------------------
|
|
|
|
|
|
|
|
(Developed and tested on Ubuntu 16.04 by Alan De Smet, July 2016)
|
|
|
|
|
|
|
|
This installs all functionality, including "glance gui", but relying on no "big packages" like SSEC SB3-hhg or Anaconda. It uses virtualenv to collect Python dependencies locally. Python dependencies are installed directly via pip. pyqt4 cannot be installed via pip, and is generally a pain in the ass, so we rely on the Linux distribution to provide it.
|
|
|
|
|
|
|
|
You will need development libraries for libpng, libfreetype, libgeos, and pyqt4. You will also need Python's virtualenv and pip.
|
|
|
|
|
|
|
|
Ubuntu 16.04 installation of the dependencies:
|
|
|
|
|
|
|
|
sudo apt-get install libpng-dev libfreetype6-dev pyqt4-dev-tools libgeos-dev virtualenv python-pip
|
|
|
|
# Ubuntu has problem with the libgeos library's name
|
|
|
|
cd /usr/lib/x86_64-linux-gnu
|
|
|
|
sudo ln -s libgeos-3.5.0.so libgeos.so
|
|
|
|
|
|
|
|
Glance installation:
|
|
|
|
|
|
|
|
# Use system-site-packages to use distribution's pyqt4
|
|
|
|
virtualenv --system-site-packages glance
|
|
|
|
cd glance
|
|
|
|
source bin/activate
|
|
|
|
pip install scipy matplotlib pillow
|
|
|
|
# Not available via PyPI
|
|
|
|
pip install https://github.com/matplotlib/basemap/archive/v1.0.7rel.tar.gz
|
|
|
|
pip install http://larch.ssec.wisc.edu/eggs/repos/uwglance/uwglance-0.3.2.tar.gz
|
|
|
|
|
|
|
|
If you want to do development on Glance, skip the "pip install ...uwglance..." step and instead:
|
|
|
|
|
|
|
|
git clone https://gitlab.ssec.wisc.edu/evas/UW-Glance.git
|
|
|
|
cd ./UW-Glance/pyglance
|
|
|
|
python setup.py develop |
|
|
\ No newline at end of file |