[pygccxml-commit] SF.net SVN: pygccxml: [677] pygccxml_dev
Brought to you by:
mbaas,
roman_yakovenko
|
From: <rom...@us...> - 2006-10-19 08:23:16
|
Revision: 677
http://svn.sourceforge.net/pygccxml/?rev=677&view=rev
Author: roman_yakovenko
Date: 2006-10-19 01:23:06 -0700 (Thu, 19 Oct 2006)
Log Message:
-----------
adding gccxml installer Python script
Added Paths:
-----------
pygccxml_dev/gccxml_installer/
pygccxml_dev/gccxml_installer/build_setup.py
pygccxml_dev/gccxml_installer/config.py
pygccxml_dev/gccxml_installer/setup.py
Added: pygccxml_dev/gccxml_installer/build_setup.py
===================================================================
--- pygccxml_dev/gccxml_installer/build_setup.py (rev 0)
+++ pygccxml_dev/gccxml_installer/build_setup.py 2006-10-19 08:23:06 UTC (rev 677)
@@ -0,0 +1,43 @@
+import os
+import sys
+
+class settings:
+ gccxml_cvs_dir = ""
+ gccxml_bin_dir = ""
+ destination_dir = ""
+ gccxml_version = "0.7"
+
+#Deploy layout:
+#root
+# / bin
+# - gccxml.exe
+# - gccxml_cc1plus.exe
+# - gccxml_vcupdate.bat
+# / doc
+# - Copyright.txt
+# - gccxml.html
+# - gccxml.txt
+# / share
+# / gccxml + version
+# - gccxml_config # contains gccxml compiler
+# / Borland
+# * contains patches relevant for Borland compiler
+# * "as is" copy of directory from cvs layout
+# / Vc6
+# / Vc7
+# / Vc71
+# * contains patches relevant for Vc6 compiler
+# * Patches created by running vcInstall + vcPatch programs from /VcInstall
+# * directory
+# /VcInstall
+# * I am not sure whether this directory should be installed or not
+
+def makedirs( path ):
+ if not os.path.exists( path ):
+ os.makedirs( path )
+ return path
+
+bin_dir_dest = makedirs( os.path.join( settings.destination_dir, 'bin' ) )
+bin_dir_source = settings.gccxml_bin_dir
+if sys.platform
+
Added: pygccxml_dev/gccxml_installer/config.py
===================================================================
--- pygccxml_dev/gccxml_installer/config.py (rev 0)
+++ pygccxml_dev/gccxml_installer/config.py 2006-10-19 08:23:06 UTC (rev 677)
@@ -0,0 +1,28 @@
+import sys
+
+#Directory path, in which you want to install GCC-XML.
+#If directory does not exist, it will be created
+destination_dir = None
+
+class vc6:
+ install_dir = None
+
+class vc7:
+ install_dir = None
+
+class vc71:
+ install_dir = None
+
+class borland55:
+ install_dir = None
+
+class gcc:
+ install_dir = None
+
+
+
+compilers = []
+if 'linux' in sys.platform:
+ compilers.append( gcc )
+else 'win' in sys.platform:
+ compilers.extend( [ vc6, vc7, vc71, borland55 ] )
Added: pygccxml_dev/gccxml_installer/setup.py
===================================================================
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|