Thread: [pygccxml-commit] SF.net SVN: pygccxml: [23] pyplusplus_dev/environment.py
Brought to you by:
mbaas,
roman_yakovenko
From: <rom...@us...> - 2006-04-30 05:51:25
|
Revision: 23 Author: roman_yakovenko Date: 2006-04-29 22:51:19 -0700 (Sat, 29 Apr 2006) ViewCVS: http://svn.sourceforge.net/pygccxml/?rev=23&view=rev Log Message: ----------- Small change of unit tests configuration. The main reason is to allow other people to run unit tests on regular basis. Modified Paths: -------------- pyplusplus_dev/environment.py Modified: pyplusplus_dev/environment.py =================================================================== --- pyplusplus_dev/environment.py 2006-04-30 05:49:35 UTC (rev 22) +++ pyplusplus_dev/environment.py 2006-04-30 05:51:19 UTC (rev 23) @@ -30,12 +30,14 @@ boost.libs = 'd:/boost_cvs/bin' boost.include = 'd:/boost_cvs' python.libs = 'c:/python/libs' - python.include = 'c:/python/include' + python.include = 'c:/python/include' + gccxml.executable = 'c:/tools/gccxml/bin/gccxml.exe' else: scons.suffix = '.so' boost.libs = '/home/roman/boost_cvs/bin' boost.include = '/home/roman/boost_cvs' - python.include = '/usr/include/python2.4' + python.include = '/usr/include/python2.4' + gccxml.executable = '/home/roman/gccxml/bin/gccxml' _my_path = None @@ -43,7 +45,7 @@ import environment_path_helper environment_path_helper.raise_error() except Exception, error: - _my_path = os.path.split( sys.exc_traceback.tb_frame.f_code.co_filename )[0] + _my_path = os.path.abspath( os.path.split( sys.exc_traceback.tb_frame.f_code.co_filename )[0] ) try: import pygccxml This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rom...@us...> - 2006-05-02 04:29:49
|
Revision: 36 Author: roman_yakovenko Date: 2006-05-01 21:29:42 -0700 (Mon, 01 May 2006) ViewCVS: http://svn.sourceforge.net/pygccxml/?rev=36&view=rev Log Message: ----------- Improving a little location-guess algorithm. Adding few compilation flags to msvc compiler Modified Paths: -------------- pyplusplus_dev/environment.py Modified: pyplusplus_dev/environment.py =================================================================== --- pyplusplus_dev/environment.py 2006-05-02 04:27:55 UTC (rev 35) +++ pyplusplus_dev/environment.py 2006-05-02 04:29:42 UTC (rev 36) @@ -26,7 +26,7 @@ if sys.platform == 'win32': scons.suffix = '.dll' - scons.ccflags = ['/MD', '/EHsc', '/GR' ] + scons.ccflags = ['/MD', '/EHsc', '/GR', '/Zc:wchar_t', '/Zc:forScope' ] boost.libs = 'd:/boost_cvs/bin' boost.include = 'd:/boost_cvs' python.libs = 'c:/python/libs' @@ -46,6 +46,10 @@ environment_path_helper.raise_error() except Exception, error: _my_path = os.path.abspath( os.path.split( sys.exc_traceback.tb_frame.f_code.co_filename )[0] ) + if not os.path.exists( os.path.join( _my_path, 'environment.py' ) ): + #try another guess + if sys.modules.has_key('environment'): + _my_path = os.path.split( sys.modules['environment'].__file__ )[0] try: import pygccxml This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rom...@us...> - 2006-11-21 08:45:51
|
Revision: 739 http://svn.sourceforge.net/pygccxml/?rev=739&view=rev Author: roman_yakovenko Date: 2006-11-21 00:45:50 -0800 (Tue, 21 Nov 2006) Log Message: ----------- switching to Python 2.5 Modified Paths: -------------- pyplusplus_dev/environment.py Modified: pyplusplus_dev/environment.py =================================================================== --- pyplusplus_dev/environment.py 2006-11-21 08:44:59 UTC (rev 738) +++ pyplusplus_dev/environment.py 2006-11-21 08:45:50 UTC (rev 739) @@ -1,43 +1,43 @@ import os -import sys -import getpass - -class boost: - libs = '' - include = '' - -class python: - libs = '' - include = '' +import sys +import getpass -class gccxml: - executable = '' +class boost: + libs = '' + include = '' + +class python: + libs = '' + include = '' +class gccxml: + executable = '' + class scons: suffix = '' cmd_build = '' cmd_clean = '' ccflags = [] - + if 'roman' in getpass.getuser(): scons.cmd_build = 'scons --file=%s' scons.cmd_clean = 'scons --clean --file=%s' - + if sys.platform == 'win32': - scons.suffix = '.dll' - scons.ccflags = ['/MD', '/EHsc', '/GR', '/Zc:wchar_t', '/Zc:forScope' ] - boost.libs = 'd:/boost_cvs/bin' + scons.suffix = '.pyd' + scons.ccflags = ['/MD', '/EHsc', '/GR', '/Zc:wchar_t', '/Zc:forScope' ] + boost.libs = 'd:/boost_cvs/bin' boost.include = 'd:/boost_cvs' - python.libs = 'e:/python24/libs' - python.include = 'e:/python24/include' - gccxml.executable = 'd:/gccxml_cvs/gccxml-build/bin/release/gccxml.exe' + python.libs = 'e:/python25/libs' + python.include = 'e:/python25/include' + gccxml.executable = 'd:/gccxml_cvs/gccxml-build/bin/release/gccxml.exe' else: - scons.suffix = '.so' - boost.libs = '/home/roman/boost_cvs/bin' - boost.include = '/home/roman/boost_cvs' + scons.suffix = '.so' + boost.libs = '/home/roman/boost_cvs/bin' + boost.include = '/home/roman/boost_cvs' python.include = '/usr/include/python2.4' - gccxml.executable = '/home/roman/gccxml-build/bin/gccxml' + gccxml.executable = '/home/roman/gccxml-build/bin/gccxml' _my_path = None @@ -60,4 +60,4 @@ print 'pygccxml DEVELOPMENT version will be used' import pyplusplus - + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rom...@us...> - 2008-06-23 21:46:40
|
Revision: 1344 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1344&view=rev Author: roman_yakovenko Date: 2008-06-23 14:46:49 -0700 (Mon, 23 Jun 2008) Log Message: ----------- updating to boost svn Modified Paths: -------------- pyplusplus_dev/environment.py Modified: pyplusplus_dev/environment.py =================================================================== --- pyplusplus_dev/environment.py 2008-06-23 20:23:05 UTC (rev 1343) +++ pyplusplus_dev/environment.py 2008-06-23 21:46:49 UTC (rev 1344) @@ -43,11 +43,11 @@ python.include = 'e:/python25/include' else: scons.suffix = '.so' - boost.libs = ['/home/roman/boost_cvs/libs/python/build/bin-stage' ] - boost.include = '/home/roman/boost_cvs' - python.include = '/usr/include/python2.4' + scons.ccflags = ['-DBOOST_PYTHON_NO_PY_SIGNATURES' ] + boost.libs = ['/home/roman/include/libs' ] + boost.include = '/home/roman/boost_svn' + python.include = '/usr/include/python2.5' - _my_path = None try: import environment_path_helper This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rom...@us...> - 2008-06-25 06:42:59
|
Revision: 1350 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1350&view=rev Author: roman_yakovenko Date: 2008-06-24 23:43:06 -0700 (Tue, 24 Jun 2008) Log Message: ----------- updating environment.py to boost svn version Modified Paths: -------------- pyplusplus_dev/environment.py Modified: pyplusplus_dev/environment.py =================================================================== --- pyplusplus_dev/environment.py 2008-06-25 06:39:31 UTC (rev 1349) +++ pyplusplus_dev/environment.py 2008-06-25 06:43:06 UTC (rev 1350) @@ -13,13 +13,10 @@ include = '' class gccxml: - gccxml_07_path = os.path.join( this_module_dir_path, '..', 'gccxml_bin', 'v07', sys.platform, 'bin' ) gccxml_09_path = os.path.join( this_module_dir_path, '..', 'gccxml_bin', 'v09', sys.platform, 'bin' ) gccxml_path = gccxml_09_path gccxml_version = '__GCCXML_09__' - if '0.7' in gccxml_version: - gccxml_version = '__GCCXML_07__' executable = gccxml_path @@ -36,9 +33,9 @@ if sys.platform == 'win32': scons.suffix = '.pyd' - scons.ccflags = ['/MD', '/EHsc', '/GR', '/Zc:wchar_t', '/Zc:forScope' ] - boost.libs = [ 'd:/dev/boost_cvs/libs/python/build/bin-stage' ] - boost.include = 'd:/dev/boost_cvs' + scons.ccflags = ['/MD', '/EHsc', '/GR', '/Zc:wchar_t', '/Zc:forScope', '-DBOOST_PYTHON_NO_PY_SIGNATURES' ] + boost.libs = [ 'd:/dev/boost_svn/bin.v2/libs/python/build/msvc-7.1/release' ] + boost.include = 'd:/dev/boost_svn' python.libs = 'e:/python25/libs' python.include = 'e:/python25/include' else: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rom...@us...> - 2006-05-14 08:14:29
|
Revision: 90 Author: roman_yakovenko Date: 2006-05-14 01:14:24 -0700 (Sun, 14 May 2006) ViewCVS: http://svn.sourceforge.net/pygccxml/?rev=90&view=rev Log Message: ----------- changing gccxml path Modified Paths: -------------- pyplusplus_dev/environment.py Modified: pyplusplus_dev/environment.py =================================================================== --- pyplusplus_dev/environment.py 2006-05-14 08:11:18 UTC (rev 89) +++ pyplusplus_dev/environment.py 2006-05-14 08:14:24 UTC (rev 90) @@ -37,7 +37,7 @@ boost.libs = '/home/roman/boost_cvs/bin' boost.include = '/home/roman/boost_cvs' python.include = '/usr/include/python2.4' - gccxml.executable = '/home/roman/gccxml/bin/gccxml' + gccxml.executable = '/home/roman/gccxml-build/bin/gccxml' _my_path = None This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rom...@us...> - 2006-07-04 13:30:55
|
Revision: 272 Author: roman_yakovenko Date: 2006-07-04 06:30:48 -0700 (Tue, 04 Jul 2006) ViewCVS: http://svn.sourceforge.net/pygccxml/?rev=272&view=rev Log Message: ----------- updating Python location Modified Paths: -------------- pyplusplus_dev/environment.py Modified: pyplusplus_dev/environment.py =================================================================== --- pyplusplus_dev/environment.py 2006-07-02 18:48:46 UTC (rev 271) +++ pyplusplus_dev/environment.py 2006-07-04 13:30:48 UTC (rev 272) @@ -29,8 +29,8 @@ scons.ccflags = ['/MD', '/EHsc', '/GR', '/Zc:wchar_t', '/Zc:forScope' ] boost.libs = 'd:/boost_cvs/bin' boost.include = 'd:/boost_cvs' - python.libs = 'c:/python/libs' - python.include = 'c:/python/include' + python.libs = 'e:/python24/libs' + python.include = 'e:/python24/include' gccxml.executable = 'd:/gccxml_cvs/gccxml-build/bin/release/gccxml.exe' else: scons.suffix = '.so' This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rom...@us...> - 2006-12-10 18:42:04
|
Revision: 791 http://svn.sourceforge.net/pygccxml/?rev=791&view=rev Author: roman_yakovenko Date: 2006-12-10 10:42:00 -0800 (Sun, 10 Dec 2006) Log Message: ----------- updating environment on linux Modified Paths: -------------- pyplusplus_dev/environment.py Modified: pyplusplus_dev/environment.py =================================================================== --- pyplusplus_dev/environment.py 2006-12-10 07:16:59 UTC (rev 790) +++ pyplusplus_dev/environment.py 2006-12-10 18:42:00 UTC (rev 791) @@ -34,7 +34,7 @@ gccxml.executable = r'd:/dev/gccxml_cvs/gccxml-bin/bin/release/gccxml.exe' else: scons.suffix = '.so' - boost.libs = [ '/home/roman/boost_cvs/bin' ] + boost.libs = [ '/home/roman/boost_cvs/libs/python/build/bin-stage' ] boost.include = '/home/roman/boost_cvs' python.include = '/usr/include/python2.4' gccxml.executable = '/home/roman/gccxml-build/bin/gccxml' This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rom...@us...> - 2007-01-04 22:05:31
|
Revision: 849 http://svn.sourceforge.net/pygccxml/?rev=849&view=rev Author: roman_yakovenko Date: 2007-01-04 14:05:32 -0800 (Thu, 04 Jan 2007) Log Message: ----------- changing gccml location Modified Paths: -------------- pyplusplus_dev/environment.py Modified: pyplusplus_dev/environment.py =================================================================== --- pyplusplus_dev/environment.py 2007-01-04 22:04:45 UTC (rev 848) +++ pyplusplus_dev/environment.py 2007-01-04 22:05:32 UTC (rev 849) @@ -37,7 +37,7 @@ boost.libs = [ '/home/roman/boost_cvs/libs/python/build/bin-stage' ] boost.include = '/home/roman/boost_cvs' python.include = '/usr/include/python2.4' - gccxml.executable = '/home/roman/gccxml-build/bin/gccxml' + gccxml.executable = '/home/roman/gccxml/bin/gccxml' _my_path = None This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |