From bd97fd4c70c35a64c3229805c547c3166d55cf41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 14 Feb 2024 09:01:08 +0100 Subject: [PATCH] Include example in sdist to fix tests Include the example files in the source distribuation, in order to fix the following test failure: ``` _______________________________________ Test_RegisteringCodec.test_can_correctly_translate_file _______________________________________ tests/test_spec_codec.py:133: in test_can_correctly_translate_file with open(os.path.join(example_dir, "test.py")) as fle: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/portage/dev-python/noseofyeti-2.4.6/work/noseofyeti-2.4.6/tests/../ex ample/test.py' self = ``` --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 9e1c82f..4c1ca68 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -61,6 +61,7 @@ include = [ "/test.sh", "/run.sh", "/pytest.ini", + "/example/*", "/tests/**", "/tools/bootstrap_venvstarter.py", "/tools/requirements.dev.txt",