Skip to content

Commit 0576902

Browse files
committed
Freeze app
1 parent e1e23a6 commit 0576902

File tree

3 files changed

+31
-0
lines changed

3 files changed

+31
-0
lines changed

appveyor.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# https://ci.appveyor.com/project/xantares/brainworkshop/
2+
3+
install:
4+
- curl -fSsLO https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Windows-x86_64.exe
5+
- set CONDA_ROOT="%UserProfile%\Miniforge3"
6+
- Miniforge3-Windows-x86_64.exe /InstallationType=JustMe /S /D=%CONDA_ROOT%
7+
- call %CONDA_ROOT%\Scripts\activate.bat
8+
- conda install -y pyglet cx_freeze ffmpeg
9+
- dir /p %CONDA_ROOT%
10+
- dir /p %CONDA_ROOT%\Library
11+
- dir /p %CONDA_ROOT%\Library\bin
12+
13+
build_script:
14+
- cxfreeze --version
15+
- call .\tools\freeze.bat
16+
- xcopy %CONDA_ROOT%\ucrtbase.dll dist
17+
- xcopy %CONDA_ROOT%\api-ms-win*.dll dist /y
18+
- xcopy %CONDA_ROOT%\Library\bin\freetype.dll dist
19+
- xcopy %CONDA_ROOT%\Library\bin\libpng16.dll dist
20+
- xcopy %CONDA_ROOT%\Library\bin\zlib.dll dist
21+
- dir /p dist
22+
#- call .\dist\brainworkshop.exe
23+
- 7z a brainworkshop.zip dist\*
24+
25+
artifacts:
26+
- path: brainworkshop.zip
27+
name: binary

tools/freeze.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cxfreeze brainworkshop.py --target-dir dist --include-files=res --include-modules=pyglet.resource,pyglet.clock,pyglet.graphics,pyglet.sprite

tools/freeze.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/sh
2+
cxfreeze brainworkshop.py --target-dir dist --include-files=res --include-modules=pyglet.resource,pyglet.clock,pyglet.graphics,pyglet.sprite
3+

0 commit comments

Comments
 (0)