]> SALOME platform Git repositories - tools/sat.git/blob - data/env_scripts/matplotlib.py
Salome HOME
Add config files and some code update for compilation of SALOME-7.8.0
[tools/sat.git] / data / env_scripts / matplotlib.py
1 #!/usr/bin/env python
2 #-*- coding:utf-8 -*-
3
4 import os.path
5
6 def set_env(env, prereq_dir, version):
7     env.set('MATPLOTLIB_ROOT_DIR', prereq_dir)
8     pyver = 'python' + env.get('PYTHON_VERSION')
9     env.prepend('PYTHONPATH', os.path.join(prereq_dir, 'lib', pyver, 'site-packages'))
10     # FOR THE FILE CONFIG MATPLOTLIBRC
11     env.set('MPLCONFIGDIR', env.get('MATPLOTLIB_ROOT_DIR'))
12
13 def set_nativ_env(env):
14     pass