Skip to content

Commit 45ede41

Browse files
committed
[dist] Generate installer artifacts dynamically rather than persisting in git
1 parent c8b3a3d commit 45ede41

23 files changed

Lines changed: 1184 additions & 597 deletions

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
docs/_build/
22
website/build/
3+
scripts/local/
34
tests/resources/*
45
*.mp4
56
*.jpg

appveyor.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ cache:
66
- 'ffmpeg-%ffmpeg_version%-full_build.7z -> appveyor.yml'
77
- 'packaging\windows\installer\advinst.msi -> appveyor.yml'
88
- '%LOCALAPPDATA%\uv\cache -> pyproject.toml'
9+
- 'C:\Program Files\Inkscape -> appveyor.yml'
910

1011
# Branches applies to tags as well. We only build on tagged releases of the form vX.Y.Z-release
1112
branches:
@@ -52,6 +53,12 @@ install:
5253
# we just extracted; otherwise pre_release.py and pyinstaller analysis crash on
5354
# `import scenedetect`. The runtime hook (pyi_rth_scenedetect.py) does the same at exe runtime.
5455
- 'SET IMAGEIO_FFMPEG_EXE=%APPVEYOR_BUILD_FOLDER%\\dist\\ffmpeg\\ffmpeg.exe'
56+
# Inkscape is required by scripts/pre_release.py --release (regenerates installer JPGs
57+
# from the master SVG). Not preinstalled on the AppVeyor VS2019 image; cached
58+
# in `C:\Program Files\Inkscape` (see cache: section) so we only re-install when
59+
# the cache is busted (appveyor.yml changes).
60+
- if not exist "C:\Program Files\Inkscape\bin\inkscape.exe" choco install inkscape -y --no-progress
61+
- 'SET PATH=%PATH%;C:\Program Files\Inkscape\bin'
5562

5663
- echo * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
5764
- echo * * BUILDING WINDOWS EXE * *

docs/_static/favicon.ico

1.06 KB
Binary file not shown.
-1.73 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

packaging/windows/installer/Generated Images/installer_banner.svg

Lines changed: 245 additions & 149 deletions
Loading
-5.22 KB
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)