Skip to content

Commit

Permalink
some more stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Benedikt-Brunner committed Dec 14, 2024
1 parent 8f9b5ba commit 9162c4b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
1 change: 0 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ jobs:
with:
nuitka-version: main
script-name: napytau/main.py
mode: app
- name: Determine Build Artifact
id: artifact-path
run: |
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ dependencies = [
]

[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
requires = ["setuptools>=42", "wheel", "nuitka", "toml"]
build-backend = "nuitka.distutils.Build"

[tool.setuptools]
packages = ["napytau"]
Expand Down
12 changes: 6 additions & 6 deletions tests/main_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ def test_callsTheHeadlessInitFunctionIfTheHeadlessFlagIsSupplied(self) -> None:
with patch.dict(
"sys.modules",
{
"gui.app": gui_mock,
"headless.headless_mockup": headless_mock,
"cli.parser": parser_mock,
"napytau.gui.app": gui_mock,
"napytau.headless.headless_mockup": headless_mock,
"napytau.cli.parser": parser_mock,
},
):
headless_mock.init = MagicMock()
Expand All @@ -38,9 +38,9 @@ def test_callsTheGuiInitFunctionIfTheHeadlessFlagIsNotSupplied(self) -> None:
with patch.dict(
"sys.modules",
{
"gui.app": gui_mock,
"headless.headless_mockup": headless_mock,
"cli.parser": parser_mock,
"napytau.gui.app": gui_mock,
"napytau.headless.headless_mockup": headless_mock,
"napytau.cli.parser": parser_mock,
},
):
gui_mock.init = MagicMock()
Expand Down

0 comments on commit 9162c4b

Please sign in to comment.