Skip to content

Commit fb17e45

Browse files
committed
[enh] regenerate code with external mpython-core dependency
1 parent 5630f75 commit fb17e45

27 files changed

+44
-37
lines changed

.mpython/templates/class_header.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from <pkgname>.__wrapper__ import Runtime, MatlabClass
1+
from mpython import Runtime, MatlabClass
22

33

44
class <classname>(MatlabClass):

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ classifiers = [
1919
"Programming Language :: Python :: 3.12",
2020
]
2121
dependencies = [
22-
"numpy"
22+
"numpy",
23+
"mpython-core"
2324
]
2425

2526
[project.urls]

spm/__init__.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,4 @@
1-
from .__wrapper__ import (
2-
Runtime,
3-
MatlabClass,
4-
Struct,
5-
Cell,
6-
Array,
7-
SparseArray,
8-
helpers
9-
)
1+
from mpython import Runtime, MatlabClass, MatlabFunction, Cell, Struct, Array, SparseArray
102
from .file_array import file_array
113
from .gifti import gifti
124
from .meeg import meeg

spm/__matlabbatch/cfg_branch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from spm.__wrapper__ import Runtime, MatlabClass
1+
from mpython import Runtime, MatlabClass
22

33

44
class cfg_branch(MatlabClass):

spm/__matlabbatch/cfg_choice.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from spm.__wrapper__ import Runtime, MatlabClass
1+
from mpython import Runtime, MatlabClass
22

33

44
class cfg_choice(MatlabClass):

spm/__matlabbatch/cfg_const.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from spm.__wrapper__ import Runtime, MatlabClass
1+
from mpython import Runtime, MatlabClass
22

33

44
class cfg_const(MatlabClass):

spm/__matlabbatch/cfg_dep.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from spm.__wrapper__ import Runtime, MatlabClass
1+
from mpython import Runtime, MatlabClass
22

33

44
class cfg_dep(MatlabClass):

spm/__matlabbatch/cfg_entry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from spm.__wrapper__ import Runtime, MatlabClass
1+
from mpython import Runtime, MatlabClass
22

33

44
class cfg_entry(MatlabClass):

spm/__matlabbatch/cfg_exbranch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from spm.__wrapper__ import Runtime, MatlabClass
1+
from mpython import Runtime, MatlabClass
22

33

44
class cfg_exbranch(MatlabClass):

spm/__matlabbatch/cfg_files.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from spm.__wrapper__ import Runtime, MatlabClass
1+
from mpython import Runtime, MatlabClass
22

33

44
class cfg_files(MatlabClass):

0 commit comments

Comments
 (0)