Salome HOME
C3PO: requires mpi4py
[tools/sat_salome.git] / products / env_scripts / pyparsing.py
1 #!/usr/bin/env python
2 #-*- coding:utf-8 -*-
3
4 import os.path
5 import platform
6
7 def set_env(env, prereq_dir, version):
8     #env.set('PYPARSING_ROOT_DIR', env.get('PYTHON_ROOT_DIR'))
9     env.set('PYPARSING_ROOT_DIR', prereq_dir)
10     
11     if not platform.system() == "Windows" :
12         pyver = 'python' + env.get('PYTHON_VERSION')
13         env.prepend('PYTHONPATH', os.path.join(prereq_dir, 'lib', pyver, 'site-packages'))
14
15 def set_nativ_env(env):
16     pass