File tree Expand file tree Collapse file tree 4 files changed +22
-8
lines changed
Expand file tree Collapse file tree 4 files changed +22
-8
lines changed Original file line number Diff line number Diff line change 4545 - name : Install Dependencies
4646 run : |
4747 python -m pip install --upgrade pip build wheel virtualenv setuptools
48- pip install -r dist/requirements_windows.txt --no-binary imageio-ffmpeg
4948 pip install -r docs/requirements.txt
49+ pip install --upgrade -r dist/requirements_windows.txt --no-binary imageio-ffmpeg
5050
5151 - name : Download Resources
5252 run : |
6969
7070 - name : Build PySceneDetect
7171 run : |
72- python dist/pre_release.py --ignore-installer
72+ python dist/pre_release.py
7373 pyinstaller dist/scenedetect.spec
7474
7575 - name : Build Documentation
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ install:
4646 - echo * * BUILDING WINDOWS EXE * *
4747 - echo * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
4848 # Build Windows .EXE and create portable .ZIP
49- - python dist/pre_release.py
49+ - python dist/pre_release.py --release
5050 - pyinstaller dist/scenedetect.spec
5151 - sphinx-build -b singlehtml docs dist/scenedetect/docs
5252 - mkdir dist\scenedetect\thirdparty
Original file line number Diff line number Diff line change 1- # -*- coding: utf-8 -*-
1+ #
2+ # PySceneDetect: Python-Based Video Scene Detector
3+ # -------------------------------------------------------------------
4+ # [ Site: https://scenedetect.com ]
5+ # [ Docs: https://scenedetect.com/docs/ ]
6+ # [ Github: https://github.com/Breakthrough/PySceneDetect/ ]
7+ #
8+ # Copyright (C) 2014-2024 Brandon Castellano <http://www.bcastell.com>.
9+ # PySceneDetect is licensed under the BSD 3-Clause License; see the
10+ # included LICENSE file, or visit one of the above pages for details.
11+ #
12+
13+ # Pre-release script to run before invoking `pyinstaller`:
14+ #
15+ # python dist/pre_release.py
16+ # pyinstaller dist/scenedetect.spec
17+ #
218import os
319import sys
420sys .path .append (os .path .abspath ("." ))
824
925VERSION = scenedetect .__version__
1026
11- run_version_check = ("--ignore-installer" not in sys .argv )
27+ run_version_check = ("--release" in sys .argv )
1228
1329if run_version_check :
1430 installer_aip = ''
Original file line number Diff line number Diff line change 1+ # These are requirements only for the docs.
12Sphinx == 7.0.1
2- opencv-python
3- numpy
4- av
You can’t perform that action at this time.
0 commit comments