[pygccxml-commit] SF.net SVN: pygccxml: [423] pygccxml_dev/unittests
Brought to you by:
mbaas,
roman_yakovenko
From: <rom...@us...> - 2006-08-20 07:46:03
|
Revision: 423 Author: roman_yakovenko Date: 2006-08-20 00:45:50 -0700 (Sun, 20 Aug 2006) ViewCVS: http://svn.sourceforge.net/pygccxml/?rev=423&view=rev Log Message: ----------- update autoconfig.py to use new pydsc API Modified Paths: -------------- pygccxml_dev/unittests/autoconfig.py pyplusplus_dev/unittests/autoconfig.py Modified: pygccxml_dev/unittests/autoconfig.py =================================================================== --- pygccxml_dev/unittests/autoconfig.py 2006-08-20 07:24:03 UTC (rev 422) +++ pygccxml_dev/unittests/autoconfig.py 2006-08-20 07:45:50 UTC (rev 423) @@ -30,47 +30,44 @@ pygccxml.declarations.class_t.USE_DEMANGLED_AS_NAME = True -#try: - #import pydsc - ##test only pygccxml - #pydsc.doc_checker.filter.append( package_directory ) - #pydsc.doc_checker.filter_type = pydsc.FILTER_TYPE.INCLUDE - ## - #map( pydsc.doc_checker.speller.ignore_always - #, [ 'Yakovenko' - #, 'Bierbaum' - #, 'org' - #, 'http' - #, 'bool' - #, 'str' - #, 'www' - #, 'param' - #, 'txt' - #, 'decl' - #, 'decls' - #, 'namespace' - #, 'namespaces' - #, 'enum' - #, 'const' - #, 'GCC' - #, 'xcc' - #, 'TODO' - #, 'typedef' - #, 'os' - #, 'normcase' - #, 'normpath' - #, 'scopedef' - #, 'ira'#part of Matthias mail address - #, 'uka'#part of Matthias mail address - #, 'de'#part of Matthias mail address - #, 'dat'#file extension of directory cache - #, 'config'#parameter description - #, 'gccxml'#parameter description - #, 'Py++' - #, 'pygccxml' - #, 'calldef' - #, 'XXX' - #, 'wstring' - #] ) -#except ImportError: - #pass \ No newline at end of file +#~ try: + #~ import pydsc + #~ pydsc.include( r'D:\pygccxml_sources\sources\pygccxml_dev' ) + #~ pydsc.ignore( [ 'Yakovenko' + #~ , 'Bierbaum' + #~ , 'org' + #~ , 'http' + #~ , 'bool' + #~ , 'str' + #~ , 'www' + #~ , 'param' + #~ , 'txt' + #~ , 'decl' + #~ , 'decls' + #~ , 'namespace' + #~ , 'namespaces' + #~ , 'enum' + #~ , 'const' + #~ , 'GCC' + #~ , 'xcc' + #~ , 'TODO' + #~ , 'typedef' + #~ , 'os' + #~ , 'normcase' + #~ , 'normpath' + #~ , 'scopedef' + #~ , 'ira'#part of Matthias mail address + #~ , 'uka'#part of Matthias mail address + #~ , 'de'#part of Matthias mail address + #~ , 'dat'#file extension of directory cache + #~ , 'config'#parameter description + #~ , 'gccxml'#parameter description + #~ , 'Py++' + #~ , 'pygccxml' + #~ , 'calldef' + #~ , 'XXX' + #~ , 'wstring' + #~ , 'py' + #~ ] ) +#~ except ImportError: + #~ pass Modified: pyplusplus_dev/unittests/autoconfig.py =================================================================== --- pyplusplus_dev/unittests/autoconfig.py 2006-08-20 07:24:03 UTC (rev 422) +++ pyplusplus_dev/unittests/autoconfig.py 2006-08-20 07:45:50 UTC (rev 423) @@ -21,9 +21,9 @@ class scons_config: libs = ['boost_python'] libpath = [ boost.libs, python.libs ] - cpppath = [ boost.include, python.include ] + cpppath = [ boost.include, python.include ] include_dirs = cpppath + [data_directory] - + @staticmethod def create_sconstruct(): code = [ @@ -37,19 +37,62 @@ , " , SHLIBSUFFIX='%s'" % scons.suffix #explicit better then implicit , ")" ] return os.linesep.join( code ) - -#I need this in order to allow Python to load just compiled modules + +#I need this in order to allow Python to load just compiled modules sys.path.append( build_dir ) os.chdir( build_dir ) -if sys.platform == 'linux2': +if sys.platform == 'linux2': LD_LIBRARY_PATH = 'LD_LIBRARY_PATH' if not os.environ.has_key( LD_LIBRARY_PATH ) \ or not set( scons_config.libpath ).issubset( set( os.environ[LD_LIBRARY_PATH].split(':') ) ): #see http://hathawaymix.org/Weblog/2004-12-30 print 'error: LD_LIBRARY_PATH has not been set' -else: +else: PATH = os.environ.get( 'PATH', '' ) PATH=PATH + ';' + ';'.join( scons_config.libpath ) - os.environ['PATH'] = PATH \ No newline at end of file + os.environ['PATH'] = PATH + + +#~ try: + #~ import pydsc + #~ pydsc.include( r'D:\pygccxml_sources\sources\pyplusplus_dev' ) + #~ pydsc.ignore( [ 'Yakovenko' + #~ , 'Bierbaum' + #~ , 'org' + #~ , 'http' + #~ , 'bool' + #~ , 'str' + #~ , 'www' + #~ , 'param' + #~ , 'txt' + #~ , 'decl' + #~ , 'decls' + #~ , 'namespace' + #~ , 'namespaces' + #~ , 'enum' + #~ , 'const' + #~ , 'GCC' + #~ , 'xcc' + #~ , 'TODO' + #~ , 'typedef' + #~ , 'os' + #~ , 'normcase' + #~ , 'normpath' + #~ , 'scopedef' + #~ , 'ira'#part of Matthias mail address + #~ , 'uka'#part of Matthias mail address + #~ , 'de'#part of Matthias mail address + #~ , 'dat'#file extension of directory cache + #~ , 'config'#parameter description + #~ , 'gccxml'#parameter description + #~ , 'Py++' + #~ , 'pygccxml' + #~ , 'calldef' + #~ , 'XXX' + #~ , 'wstring' + #~ , 'py' + #~ ] ) +#~ except ImportError: + #~ pass This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |