Skip to content

Commit

Permalink
use msvc for windows build, fix path for github
Browse files Browse the repository at this point in the history
  • Loading branch information
GBeauregard committed Sep 14, 2021
1 parent c9f1c68 commit 1203f4c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,11 @@ jobs:
python-version: ${{ matrix.python }}
- name: Install tox and any other packages
run: pip install tox
- name: Add msbuild to PATH
uses: microsoft/[email protected]
- name: Package and Build
run: tox -e nuitka-win
- name: Upload Release to GitHub
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release upload ${{ github.event.release.tag_name }} build/*.exe
run: gh release upload ${{ github.event.release.tag_name }} build\pyffstream.exe
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "flit_core.buildapi"
name = "pyffstream"
readme = "README.md"
license = {file = "LICENSE"}
version = "0.0.1.dev17"
version = "0.0.1.dev18"
authors = [{email = "[email protected]"}]
dynamic = ["description"]
keywords = ["ffmpeg", "streaming", "srt"]
Expand Down
5 changes: 3 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ commands =
nuitka3 \
--assume-yes-for-downloads \
--onefile \
--mingw64 \
--include-module=platformdirs.windows \
--python-flag=-OO \
-o build/pyffstream.exe \
Expand All @@ -78,10 +77,12 @@ commands =
--windows-company-name=aphysically \
--windows-file-description="A simple app to facilitate streaming via ffmpeg." \
--output-dir=build \
--lto \
src\cli_entry.py
#--mingw64 \
#--nofollow-import-to=setuptools \
#--nofollow-import-to=pkg_resources \
#--enable-plugin=anti-bloat \
src\cli_entry.py

[flake8]
extend-ignore =
Expand Down

0 comments on commit 1203f4c

Please sign in to comment.