Skip to content

Commit

Permalink
Added PNAME_HISTORY
Browse files Browse the repository at this point in the history
  • Loading branch information
revarbat committed Oct 22, 2017
1 parent f82625c commit 7fb8996
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 13 deletions.
10 changes: 3 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,18 @@ upload:
twine upload dist/*.tar.gz dist/*.whl dist/*.egg

app:
rm -rf dist/MufSim dist/MufSim.app dist/MufSimOSX.zip
python3 setup.py py2app
rm -rf dist/MufSim dist/MufSim.app dist/MufSimOSX.zip dist/MufSimOSX64.zip
pyinstaller MufSim.spec
rm -rf dist/MufSim
tools/mkicons.sh
cp icons/MufSim.icns dist/MufSim.app/Contents/Resources/
cd dist && zip -r MufSimOSX MufSim.app
cd dist && zip -r MufSimOSX64 MufSim.app

exe:
rm -rf dist/MufSim dist/MufSim.exe dist/MufSimWin64.zip
pyinstaller MufSim.spec
# cd dist && zip -r MufSimWin64 MufSim.exe

py2exe:
rm -rf dist/MufSim dist/MufSim.exe dist/MufSimWin64.zip
python3 setup.py py2exe
# cd dist && zip -r MufSimWin64 MufSim.exe

muvdoc: docs/MUVREF.html

Expand Down
Binary file modified dist/MufSimOSX64.zip
Binary file not shown.
Binary file modified dist/MufSimWin64.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import platform
from glob import glob

VERSION = "1.2.0"
VERSION = "1.2.1"


APP = ['kickstart.py']
Expand Down
22 changes: 17 additions & 5 deletions tools/mkexe.bat
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
SET TCL_LIBRARY=C:\Python27\tcl\tcl8.5
SET TK_LIBRARY=C:\Python27\tcl\tk8.5
PATH=%PATH%;C:\Python\mufsimenv;C:\Python\mufsimenv\Scripts;C:\Python27\Scripts
pyinstaller --windowed --onefile --name mufsim mufgui\mufgui.py
powershell.exe -nologo -noprofile -command "& { Add-Type -A 'System.IO.Compression.FileSystem'; [IO.Compression.ZipFile]::CreateFromDirectory('foo', 'foo.zip'); }"
SET TCL_LIBRARY=C:\Python34\tcl\tcl8.5
SET TK_LIBRARY=C:\Python34\tcl\tk8.5
rem PATH=%PATH%;C:\Python\mufsimenv;C:\Python\mufsimenv\Scripts;C:\Python27\Scripts

del dist\MufSim.exe
pyinstaller MufSim.spec
rem pyinstaller --windowed --onefile --name MufSim kickstart.py

cd dist
del MufSimWin64.zip
rmdir /s /q MufSimWin64
mkdir MufSimWin64
copy MufSim.exe MufSimWin64
powershell.exe -nologo -noprofile -command "& { Add-Type -A 'System.IO.Compression.FileSystem'; [IO.Compression.ZipFile]::CreateFromDirectory('MufSimWin64', 'MufSimWin64.zip'); }"
rmdir /s /q MufSimWin64
cd ..


0 comments on commit 7fb8996

Please sign in to comment.