[r1851]: ui / web / config.py  Maximize  Restore  History

Download this file

24 lines (17 with data), 1.0 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import os
import sys
import getpass
import tempfile
this_module_dir_path = os.path.abspath ( os.path.dirname( sys.modules[__name__].__file__) )
projects_root_dir = os.path.dirname( os.path.dirname( this_module_dir_path ) )
#~ sys.path.insert( 0, os.path.join( this_module_dir_path, 'web.zip' ) )
if os.path.exists( os.path.join( projects_root_dir, 'pygccxml_dev' ) ):
sys.path.append( os.path.join( projects_root_dir, 'pygccxml_dev' ) )
if os.path.exists( os.path.join( projects_root_dir, 'pyplusplus_dev' ) ):
sys.path.append( os.path.join( projects_root_dir, 'pyplusplus_dev' ) )
#else use installed modules
import pygccxml
gccxml = pygccxml.parser.load_gccxml_configuration( os.path.join( this_module_dir_path, 'gccxml.cfg' )
, gccxml_path="/usr/bin/gccxml"
, compiler=pygccxml.utils.native_compiler.get_gccxml_compiler() )
temp_dir = tempfile.gettempdir()

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks