summaryrefslogtreecommitdiff
path: root/Koopuzzle/windows_build.py
diff options
context:
space:
mode:
Diffstat (limited to 'Koopuzzle/windows_build.py')
-rwxr-xr-xKoopuzzle/windows_build.py18
1 files changed, 6 insertions, 12 deletions
diff --git a/Koopuzzle/windows_build.py b/Koopuzzle/windows_build.py
index 10d710c..2f36999 100755
--- a/Koopuzzle/windows_build.py
+++ b/Koopuzzle/windows_build.py
@@ -9,8 +9,7 @@ if '-upx' in sys.argv:
dir = 'distrib/windows'
-print '[[ Running Puzzle Through py2exe! ]]'
-print 'Note: Puzzle MUST have NSMBlib-0.5a or none at all to function.'
+print '[[ Running Koopuzzle Through py2exe! ]]'
print '>> Destination directory: %s' % dir
sys.argv.append('py2exe')
@@ -25,11 +24,11 @@ excludes = ['encodings', 'doctest', 'pdb', 'unittest', 'difflib', 'inspect',
# set it up
setup(
- name='Puzzle',
+ name='Koopuzzle',
version='1.0',
- description='Puzzle - Tileset Editor',
+ description='Koopuzzle - Koopatlas Tileset Editor',
windows=[
- {'script': 'puzzle.py',
+ {'script': 'Koopuzzle.py',
}
],
options={'py2exe':{
@@ -59,14 +58,9 @@ if upxFlag:
print '>> Compression complete.'
else:
print '>> UPX not found, binaries can\'t be compressed.'
- print '>> In order to build Reggie! with UPX, place the upx.exe file into '\
+ print '>> In order to build Koopuzzle! with UPX, place the upx.exe file into '\
'this folder.'
-if os.path.isdir(dir + '/Icons'): shutil.rmtree(dir + '/Icons')
-if os.path.isdir(dir + '/nsmblib-0.5a'): shutil.rmtree(dir + '/nsmblib-0.5a')
-shutil.copytree('Icons', dir + '/Icons')
-shutil.copytree('nsmblib-0.5a', dir + '/nsmblib-0.5a')
-shutil.copy('license.txt', dir)
print '>> Attempting to copy VC++2008 libraries...'
if os.path.isdir('Microsoft.VC90.CRT'):
@@ -78,4 +72,4 @@ else:
print '>> In order to automatically include the runtimes, place the '\
'Microsoft.VC90.CRT folder into this folder.'
-print '>> Reggie has been frozen to %s!' % dir
+print '>> Koopuzzle has been frozen to %s!' % dir