Skip to content

Commit

Permalink
added --enable-plugin=anti-bloat flag
Browse files Browse the repository at this point in the history
  • Loading branch information
jimkring authored Jun 29, 2022
1 parent 1ecf55c commit d2c1c65
Show file tree
Hide file tree
Showing 5 changed files with 58 additions and 53 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/windows-exe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ jobs:
uses: actions/cache@v1
with:
path: C:\Users\runneradmin\AppData\Local\Nuitka
key: ${{ runner.OS }}-nuitka-cache-${{ hashFiles('**/requirements.txt') }}
key: ${{ runner.OS }}-nuitka-cache-${{ hashFiles('**/requirements*.txt') }}
restore-keys: |
${{ runner.OS }}-nuitka-cache-
- name: Build EXE
run: yes | python -m nuitka --standalone --onefile --output-dir="build" kasa_cli
run: yes | python -m nuitka --standalone --onefile --enable-plugin=anti-bloat --output-dir="build" kasa_cli

- name: Upload EXE Artifact
- uses: actions/upload-artifact@v3
Expand Down
4 changes: 4 additions & 0 deletions requirements-dev.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-c requirements.txt
pip-tools
pytest
Nuitka
51 changes: 51 additions & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
#
# This file is autogenerated by pip-compile with python 3.10
# To update, run:
#
# pip-compile requirements-dev.in
#
atomicwrites==1.4.0
# via pytest
attrs==21.4.0
# via pytest
build==0.8.0
# via pip-tools
click==8.1.3
# via pip-tools
colorama==0.4.5
# via
# -c requirements.txt
# build
# click
# pytest
iniconfig==1.1.1
# via pytest
nuitka==0.9.1
# via -r requirements-dev.in
packaging==21.3
# via
# build
# pytest
pep517==0.12.0
# via build
pip-tools==6.7.0
# via -r requirements-dev.in
pluggy==1.0.0
# via pytest
py==1.11.0
# via pytest
pyparsing==3.0.9
# via packaging
pytest==7.1.2
# via -r requirements-dev.in
tomli==2.0.1
# via
# build
# pep517
# pytest
wheel==0.37.1
# via pip-tools

# The following packages are considered to be unsafe in a requirements file:
# pip
# setuptools
7 changes: 0 additions & 7 deletions requirements.in
Original file line number Diff line number Diff line change
@@ -1,9 +1,2 @@
# dev
pip-tools

# build
pytest
Nuitka

# source deps
python-kasa
45 changes: 1 addition & 44 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,62 +8,19 @@ anyio==3.6.1
# via python-kasa
asyncclick==8.1.3.2
# via python-kasa
atomicwrites==1.4.0
# via pytest
attrs==21.4.0
# via pytest
build==0.8.0
# via pip-tools
click==8.1.3
# via pip-tools
colorama==0.4.5
# via
# asyncclick
# build
# click
# pytest
# via asyncclick
idna==3.3
# via anyio
importlib-metadata==4.12.0
# via python-kasa
iniconfig==1.1.1
# via pytest
nuitka==0.9.1
# via -r requirements.in
packaging==21.3
# via
# build
# pytest
pep517==0.12.0
# via build
pip-tools==6.7.0
# via -r requirements.in
pluggy==1.0.0
# via pytest
py==1.11.0
# via pytest
pydantic==1.9.1
# via python-kasa
pyparsing==3.0.9
# via packaging
pytest==7.1.2
# via -r requirements.in
python-kasa==0.5.0
# via -r requirements.in
sniffio==1.2.0
# via anyio
tomli==2.0.1
# via
# build
# pep517
# pytest
typing-extensions==4.2.0
# via pydantic
wheel==0.37.1
# via pip-tools
zipp==3.8.0
# via importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
# pip
# setuptools

0 comments on commit d2c1c65

Please sign in to comment.