[open-allure-ds] push by jg07...@gmail.com - Revise odp2exe.py and ss2exe.py and add make_exe.cmd for Windows build... on 2011-12-05 09:08 GMT

9 views
Skip to first unread message

open-al...@googlecode.com

unread,
Dec 5, 2011, 4:09:26 AM12/5/11
to open-al...@googlegroups.com
Revision: 3eba661664cc
Author: Jo...@John-PC.lan
Date: Mon Dec 5 01:07:53 2011
Log: Revise odp2exe.py and ss2exe.py and add make_exe.cmd for Windows
builds
http://code.google.com/p/open-allure-ds/source/detail?r=3eba661664cc

Added:
/wikitospeech/make_exe.cmd
/wikitospeech/ss2exe.py
Modified:
/odp2wts/odp2exe.py

=======================================
--- /dev/null
+++ /wikitospeech/make_exe.cmd Mon Dec 5 01:07:53 2011
@@ -0,0 +1,8 @@
+echo off
+rem 20111205 JG Modified to run for SlideSpeech
+echo ====================
+echo Building SlideSpeech.exe
+echo ====================
+if exist dist (rmdir dist /S)
+python ss2exe.py py2exe
+D:\NSIS\makensisw.exe SlideSpeech.nsi
=======================================
--- /dev/null
+++ /wikitospeech/ss2exe.py Mon Dec 5 01:07:53 2011
@@ -0,0 +1,33 @@
+# -*- coding: utf-8 -*-
+"""
+ss2exe.py
+a component of SlideSpeech.py
+
+Creates SlideSpeech.exe for Windows
+
+python ss2exe.py py2exe
+
+Copyright (c) 2011 John Graves
+
+MIT License: see LICENSE.txt
+"""
+from distutils.core import setup
+import py2exe
+
+setup(console=['SlideSpeech.py'],
+ options = {"py2exe": { "dll_excludes": ["POWRPROF.dll",
+ "tk85.dll",
+ "tcl85.dll"],
+ "bundle_files" : 1,
+ }
+ },
+ data_files=[(".",['CHANGES.txt',
+ 'ethics_notice.txt',
+ 'README.txt',
+ 'LICENSE.txt',
+ 'script.txt',
+ 'SayStatic.exe']),
+ ("static/test",["static/test/Slide1.PNG",
+ "static/test/Slide2.PNG"])],
+ zipfile=None,
+ )
=======================================
--- /odp2wts/odp2exe.py Sun Dec 4 19:53:35 2011
+++ /odp2wts/odp2exe.py Mon Dec 5 01:07:53 2011
@@ -24,7 +24,7 @@
class BuildApp:
def __init__(self):
self.APP = ['odp2ss.py']
- self.DATA_FILES = ['CHANGES.txt',
+ self.DATA_FILES = [(".",['CHANGES.txt',
'ethics_notice.txt',
'README.txt',
'LICENSE.txt',
@@ -41,7 +41,7 @@
'zlib1.dll',
'_tkinter.pyd',
'tcl85.dll',
- 'tk85.dll']
+ 'tk85.dll']),]
self.OPTIONS = { "dll_excludes": ["POWRPROF.dll",
"tk85.dll",
"tcl85.dll"],

Reply all
Reply to author
Forward
0 new messages