]> de.git.xonotic.org Git - xonotic/netradiant.git/blob - setup/win32/build.py
ok
[xonotic/netradiant.git] / setup / win32 / build.py
1 # Copyright (C) 2001-2006 William Joseph.
2 # For a list of contributors, see the accompanying CONTRIBUTORS file.
3
4 # This file is part of GtkRadiant.
5
6 # GtkRadiant is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 2 of the License, or
9 # (at your option) any later version.
10
11 # GtkRadiant is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 # GNU General Public License for more details.
15
16 # You should have received a copy of the GNU General Public License
17 # along with GtkRadiant; if not, write to the Free Software
18 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19
20 import datetime
21 from installer import MSIPackage
22
23 def format_date_today():
24   return str(datetime.date.today())
25
26 package = MSIPackage("gtkradiant-1.5.0.xml")
27 package.writeMSI("template.msi", "GtkRadiant-1.5.0-" + format_date_today() + ".msi")
28
29 #package = MSIPackage("q3a_example_maps.xml")
30 #package.writeMSI("template.msi", "Q3A-Example-Maps-" + format_date_today() + ".msi")
31
32 #package = MSIPackage("wolf_example_maps.xml")
33 #package.writeMSI("template.msi", "Wolf-Example-Maps-" + format_date_today() + ".msi")
34
35 #package = MSIPackage("ja_example_maps.xml")
36 #package.writeMSI("template.msi", "JA-Example-Maps-" + format_date_today() + ".msi")
37
38 #package = MSIPackage("et_example_maps.xml")
39 #package.writeMSI("template.msi", "ET-Example-Maps-" + format_date_today() + ".msi")
40
41 #package = MSIPackage("jk2_example_maps.xml")
42 #package.writeMSI("template.msi", "JK2-Example-Maps-" + format_date_today() + ".msi")
43
44 #package = MSIPackage("sof2_example_maps.xml")
45 #package.writeMSI("template.msi", "SoF2-Example-Maps-" + format_date_today() + ".msi")
46
47 #package = MSIPackage("q2_example_maps.xml")
48 #package.writeMSI("template.msi", "Q2-Example-Maps-" + format_date_today() + ".msi")
49
50 #package = MSIPackage("her2_example_maps.xml")
51 #package.writeMSI("template.msi", "Heretic2-Example-Maps-" + format_date_today() + ".msi")
52
53 #package = MSIPackage("hl_example_maps.xml")
54 #package.writeMSI("template.msi", "HalfLife-Example-Maps-" + format_date_today() + ".msi")
55
56 #package = MSIPackage("ef_example_maps.xml")
57 #package.writeMSI("template.msi", "STVEF-Example-Maps-" + format_date_today() + ".msi")