-
Notifications
You must be signed in to change notification settings - Fork 26
Notes on freezing with Windows
John Readey edited this page May 17, 2016
·
2 revisions
This page collects some notes after a successful freezing of HDF Compass on a Mac OS X running Yosemite.
The notes assume a ideally clean machine, and they guide you to create a setup that is mainly based on brew
.
- install Anaconda from https://www.continuum.io/downloads.
- From Anaconda prompt:
conda install --upgrade pip setuptools matplotlib wxpython xml pydap gdal=1.11
- There is a known issue in installing the official package from: https://sourceforge.net/projects/wxpython/files/wxPython/3.0.2.0/
- A working solution is to follow these instructions or you can try to use the package that was created based on them.
pip install https://github.com/Toblerity/Shapely/archive/master.zip
- conda install -c scitools cartopy
pip install hydroffice.bag
- clone the
HDF Compass
repository (e.g., withSourceTree
) - install it in dev mode:
pip install -e .
- test if it works:
python HDFCompass.py
pip install pyinstaller
pip install --upgrade setuptools==19.2
- Update HDFCompass.1file.spec with path to mkl dlls:
a.binaries + [('my_lib.dll', 'path/to/dll', 'BINARY')]
pyinstaller --clean -y --hiddenimport-FixTk HDFCompass.1file.spec
- test if it works:
./dist/HDFCompass_0.6.0b3