Skip to content
This repository has been archived by the owner on Sep 17, 2020. It is now read-only.

Commit

Permalink
Final tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
PVince81 committed Mar 23, 2012
1 parent 8cc1712 commit 2a9bb2e
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/level5.xml
@@ -1,5 +1,5 @@
<level> <level>
<title>The Hyper-High-Definition Television has been hacked</title> <title>The Ultra-Definition Television has been hacked</title>
<subtitle>Well... we sometimes need a break</subtitle> <subtitle>Well... we sometimes need a break</subtitle>
<endtext>What's on those 482303 channels today ?</endtext> <endtext>What's on those 482303 channels today ?</endtext>


Expand Down Expand Up @@ -72,4 +72,4 @@
<foe type="tracking" node="21"/> <foe type="tracking" node="21"/>
<foe type="tracking" node="18"/> <foe type="tracking" node="18"/>
</entities> </entities>
</level> </level>
Binary file added data_src/doodles.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
41 changes: 41 additions & 0 deletions pyinstaller/nodereviver_linux.spec
@@ -0,0 +1,41 @@
# -*- mode: python -*-
projectpath = '/home/vincent/workspace/minild33/'
pyinstallerpath = '/home/vincent/progs/pyinstaller'
datapath = projectpath + "data/"
a = Analysis([os.path.join(HOMEPATH,'support/_mountzlib.py'), os.path.join(HOMEPATH,'support/useUnicode.py'), projectpath + 'nodereviver.py'],
pathex=[pyinstallerpath])
pyz = PYZ(a.pure)
a.binaries = [x for x in a.binaries if not
(os.path.basename(x[1]).lower() in ("msvcr90.dll", "msvcm90.dll", "kernel32.dll", "msvcp90.dll") or ("microsoft" in x[1].lower()))]

pyd = []
other = []
for binary in a.binaries:
if os.path.splitext(binary[1])[1].lower() == ".pyd":
pyd.append(binary)
else:
other.append(binary)

for file in os.listdir(datapath):
a.datas.append(("data/" + os.path.basename(file), datapath + file, 'DATA'))

a.datas.append(("README.txt", projectpath + "README.txt", "DATA"))

exe = EXE( pyz,
a.scripts,
a.zipfiles,
pyd,
name=os.path.join('dist', 'nodereviver_run'),
debug=False,
strip=False,
upx=True,
console=False , icon=projectpath + 'misc/nodereviver.ico')

coll = COLLECT( exe,
a.datas,
other,
strip=False,
upx=True,
name=os.path.join('dist', 'nodereviver'))
app = BUNDLE(coll,
name=os.path.join('dist', 'nodereviver.app'))
File renamed without changes.

0 comments on commit 2a9bb2e

Please sign in to comment.