Skip to content
This repository was archived by the owner on Oct 28, 2022. It is now read-only.

Commit

Permalink
update build files to include assets and pyperclip
Browse files Browse the repository at this point in the history
  • Loading branch information
andre-meyer committed Feb 25, 2020
1 parent e6b2a8a commit b80cbe1
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion __version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.8.0'
__version__ = '0.8.1'
4 changes: 2 additions & 2 deletions main-osx.spec
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ block_cipher = None
a = Analysis(['main.py'],
pathex=['/Users/andremeyer/Documents/Own/mario-64-rom-hacking/sm64-randomizer'],
binaries=[],
datas=[('README.md', '.'), ('LICENSE', '.'), ('Data', '.'), ('lib/python3.7/site-packages/trimesh/resources', 'trimesh/resources/')],
hiddenimports=[],
datas=[('README.md', '.'), ('LICENSE', '.'), ('Data', '.'), ('Assets', '.'), ('lib/python3.7/site-packages/trimesh/resources', 'trimesh/resources/')],
hiddenimports=["pyperclip"],
hookspath=[],
runtime_hooks=[],
excludes=[],
Expand Down
4 changes: 2 additions & 2 deletions main-win.spec
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ block_cipher = None
a = Analysis(['main.py'],
pathex=['C:\\Users\\Administrator\\Desktop\\sm64-randomizer'],
binaries=[('Lib/site-packages/rtree/spatialindex*', '.')],
datas=[('README.md', '.'), ('LICENSE', '.'), ('Data', '.'), ('Lib/site-packages/trimesh/resources', 'trimesh/resources/')],
hiddenimports=[],
datas=[('README.md', '.'), ('LICENSE', '.'), ('Data', '.'), ('Assets', '.'), ('Lib/site-packages/trimesh/resources', 'trimesh/resources/')],
hiddenimports=["pyperclip"],
hookspath=[],
runtime_hooks=[],
excludes=[],
Expand Down
3 changes: 2 additions & 1 deletion tools/build_mac_osx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ mkdir -p ./dist/Data
cp -v ./3rdparty/*mac* ./dist/3rdparty
cp -vr ./Data ./dist
cp -vr ./Config ./dist
cp -vr ./Assets ./dist
cp -v ./3rdparty/LICENSE* ./dist/3rdparty
cp -v ./3rdparty/README* ./dist/3rdparty
cd ./dist
zip -r ../release/sm64-randomizer-${VERSION}-mac-osx.zip SM64* README.md LICENSE 3rdparty Data Config
zip -r ../release/sm64-randomizer-${VERSION}-mac-osx.zip SM64* README.md LICENSE 3rdparty Data Config Assets
cd -;
3 changes: 2 additions & 1 deletion tools/build_win.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@ Copy-Item 3rdparty/LICENSE -Destination dist/3rdparty
Copy-Item 3rdparty/README.md -Destination dist/3rdparty
Copy-Item ./Config -Destination ./dist -Recurse -Force
Copy-Item ./Data -Destination ./dist -Recurse -Force
Copy-Item ./Assets -Destination ./dist -Recurse -Force

$ArchiveName = "release/sm64-randomizer-$RandoVersion-win32.zip"
del $ArchiveName -ErrorAction SilentlyContinue
cd dist
& 'C:\Program Files\7-Zip\7z.exe' -tzip a ../$ArchiveName ./*.exe 3rdparty/* *.md LICENSE ./Data ./Config
& 'C:\Program Files\7-Zip\7z.exe' -tzip a ../$ArchiveName ./*.exe 3rdparty/* *.md LICENSE ./Data ./Config ./Assets
cd ..

0 comments on commit b80cbe1

Please sign in to comment.