[pygccxml-commit] SF.net SVN: pygccxml: [473] pygccxml_dev
Brought to you by:
mbaas,
roman_yakovenko
From: <rom...@us...> - 2006-08-26 08:16:53
|
Revision: 473 Author: roman_yakovenko Date: 2006-08-26 01:16:46 -0700 (Sat, 26 Aug 2006) ViewCVS: http://svn.sourceforge.net/pygccxml/?rev=473&view=rev Log Message: ----------- adding declaration cache test data file to manifest Modified Paths: -------------- pygccxml_dev/MANIFEST.in pygccxml_dev/pygccxml/utils/__init__.py Modified: pygccxml_dev/MANIFEST.in =================================================================== --- pygccxml_dev/MANIFEST.in 2006-08-26 07:43:43 UTC (rev 472) +++ pygccxml_dev/MANIFEST.in 2006-08-26 08:16:46 UTC (rev 473) @@ -1,13 +1,13 @@ -include LICENSE_1_0.txt -include MANIFEST.in -include unittests/*.py -include unittests/data/*.hpp -include unittests/data/*.xml -recursive-include docs/apidocs *.css -recursive-include docs/apidocs *.html -include docs/*.rest -include docs/*.png -include docs/example/* -include docs/history/* -include docs/logos/* -prune docs/*/.svn +include LICENSE_1_0.txt +include MANIFEST.in +include unittests/*.py +include unittests/data/*.hpp +include unittests/data/*.xml +include unittests/data/*.txt +recursive-include docs/apidocs *.css +recursive-include docs/apidocs *.html +include docs/*.rest +include docs/*.png +include docs/example/* +include docs/history/* +prune docs/*/.svn \ No newline at end of file Modified: pygccxml_dev/pygccxml/utils/__init__.py =================================================================== --- pygccxml_dev/pygccxml/utils/__init__.py 2006-08-26 07:43:43 UTC (rev 472) +++ pygccxml_dev/pygccxml/utils/__init__.py 2006-08-26 08:16:46 UTC (rev 473) @@ -77,4 +77,12 @@ def normalize_path( some_path ): """return os.path.normpath( os.path.normcase( some_path ) )""" - return os.path.normpath( os.path.normcase( some_path ) ) \ No newline at end of file + return os.path.normpath( os.path.normcase( some_path ) ) + +def get_architecture(): + if sys.maxint == 2147483647: + return 32 + elif sys.maxint == 9223372036854775807: + return 64 + else: + raise RuntimeError( "Unknown architecture" ) \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |