Skip to content

Commit 39d016c

Browse files
committed
Move outfmt into src package
1 parent cedc3cb commit 39d016c

10 files changed

Lines changed: 4 additions & 6 deletions

File tree

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ keywords = ['compiler', 'zxspectrum', 'BASIC', 'z80'] # arbitrary keywords
3434
packages = [
3535
{ include = "src/**/*" },
3636
{ include = "arch/**/*"},
37-
{ include = "outfmt" }
3837
]
3938

4039
[tool.poetry.scripts]

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
'arch.zx48k',
99
'arch.zx48k.backend',
1010
'arch.zx48k.optimizer',
11-
'arch.zx48k.peephole',
12-
'outfmt'
11+
'arch.zx48k.peephole'
1312
]
1413

1514
# The directory containing this file

src/libzxbasm/asmparse.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
from src.api import global_ as gl
2828
import src.api.utils
2929
from src.libzxbpp import zxbpp
30-
import outfmt
30+
from .. import outfmt
3131

3232
LEXER = asmlex.Lexer()
3333

src/libzxbasm/basic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# -------------------------------------------------------------------------------
1212

1313
from src.api import fp
14-
import outfmt.tzx as tzx
14+
from src import outfmt as tzx
1515

1616
ENTER = 0x0D
1717

src/libzxbc/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
# the GNU General License
1010
# ----------------------------------------------------------------------
1111

12-
from outfmt import CodeEmitter # noqa
12+
from src.outfmt import CodeEmitter # noqa
1313
from .zxb import main # noqa
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)