Skip to content

Commit

Permalink
python: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
nrybowski committed Feb 7, 2025
1 parent 8a4ceed commit c6e78b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions dune-mpf/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ build-backend = "maturin"

[tool.maturin]
features = ["pyo3/extension-module"]
python-source = "python"
name = "dune"
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import pytoml
import yaml

from dune_mpf import dune_mpf
import dune_mpf
import mpf


Expand Down Expand Up @@ -34,7 +34,7 @@ def setup():

# Import DUNE module on every phynode
with mpf.client[:].sync_imports(quiet=False):
from dune_mpf import dune_mpf
import dune_mpf

# Send DUNE context to every phynode
mpf.client[:].push({'dune': dune})
Expand Down

0 comments on commit c6e78b8

Please sign in to comment.