From 4b66408fcddc7b0a6ead84368312fb5c8e9c48bb Mon Sep 17 00:00:00 2001 From: mcflugen Date: Tue, 12 Mar 2024 09:49:35 -0600 Subject: [PATCH] remove meson.build for python projects --- babelizer/data/hooks/post_gen_project.py | 4 ++++ noxfile.py | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/babelizer/data/hooks/post_gen_project.py b/babelizer/data/hooks/post_gen_project.py index e6218f5a..27f2fbe6 100644 --- a/babelizer/data/hooks/post_gen_project.py +++ b/babelizer/data/hooks/post_gen_project.py @@ -114,6 +114,10 @@ def write_api_yaml(folderpath, **kwds): if "Not open source" == "{{ cookiecutter.open_source_license }}": remove_file("LICENSE") + {%- if cookiecutter.language == 'python' %} + remove_file("meson.build") + {%- endif %} + datadir = Path("meta") package_datadir = Path("{{ cookiecutter.package_name }}") / "data" if not package_datadir.exists(): diff --git a/noxfile.py b/noxfile.py index 636d52f4..279b842a 100644 --- a/noxfile.py +++ b/noxfile.py @@ -86,7 +86,6 @@ def test_langs(session: nox.session, lang) -> None: session.debug(f"{k}: {v!r}") with session.chdir(package): - session.run("pkg-config", "--list-all") session.run("python", "-m", "pip", "install", ".[dev]") with session.chdir(testdir):