Salome HOME
C3PO: requires mpi4py
[tools/sat_salome.git] / products / env_scripts / pyreadline.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   if platform.system() == "Windows" :
9     env.set('PYREADLINE_ROOT_DIR', prereq_dir)
10   else:
11     env.set('PYREADLINE_ROOT_DIR', env.get('PYTHON_ROOT_DIR'))
12     
13 def set_nativ_env(env):
14     env.set('PYREADLINE_ROOT_DIR', env.get('PYTHON_ROOT_DIR'))