Skip to content

Commit 024f2fd

Browse files
committed
allow pyyaml to be installed before setuptools runs
1 parent 70018a7 commit 024f2fd

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[build-system]
2+
requires = ["setuptools>=65.5.1", "pyyaml>=3.13"]
3+
build-backend = "setuptools.build_meta"

setup.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
POLYFILE_DIR: Path = Path(__file__).absolute().parent
99
README_PATH: Path = POLYFILE_DIR / "README.md"
1010

11+
compile_kaitai_parsers.rebuild()
12+
1113
with open(README_PATH, "r", encoding="utf8") as readme:
1214
README = readme.read()
1315

@@ -64,6 +66,3 @@
6466
'Topic :: Utilities'
6567
]
6668
)
67-
68-
compile_kaitai_parsers.rebuild()
69-

0 commit comments

Comments
 (0)