-
Notifications
You must be signed in to change notification settings - Fork 5
/
INSTALL
34 lines (20 loc) · 842 Bytes
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# General installation
Create virtual environment with dependencies:
make venv
Alternately use an existing virtual environment:
./build_venv.sh virtual_env_filepath
Finally, if you wish to use your already activated virtual env (or system
Python) invoke build_venv.sh without args:
./build_venv.sh
Test everything is working:
make test
## Dependencies
All the python dependencies are recorded in the python\_requirements file.
# Mac OSX
If using home brew Python matplotlib may require a symlink so it can find the freetype X11 headers. Link with:
brew link freetype
or manually link with:
sudo ln -s /usr/X11/include/freetype2/freetype/ /usr/X11/include/freetype
Then install matplotlib with pip after loading the virtual env. e.g.:
. load_env
pip install $(grep matplotlib python_requirements)