def check_system_setuptools(): """ Check system configuration and return environment variables dictionary This function need OpenAlea.Deploy """ from openalea.deploy import check_system envv = dict(os.environ) res = check_system() envv.update(res) return envv
def finalize_installation(): try: from openalea.deploy import check_system import os print """ \nTo install OpenAlea packages you can start the graphical Installer: - On Windows : Start Menu -> OpenAlea -> Installer - On Linux/Unix : use the shell command 'alea_install_gui' - You can also use the command 'alea_install' in a shell """ env = check_system() os.environ.update(env) os.system('%s -c "import openalea.deploygui.alea_install_gui as gui; gui.main()"'%(sys.executable)) except: print "OpenAlea is not installed properly."