From 7e11082353150a580677e402c64db9f57b9e0a29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20Verg=C3=A9?= Date: Fri, 4 Mar 2016 12:33:56 +0100 Subject: [PATCH] Distribution: Restore spec examples in package_data Put `tests/yaml-1.2-spec-examples/*` back in `setup.py`'s `package_data` because they need to be installed when running `python setup.py build`, so Debian packaging script `dh_auto_test -O--buildsystem=pybuild` doesn't fail. See also commit e6dc67f. --- MANIFEST.in | 1 - setup.py | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index a87a1bc..8c22eeb 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,4 +1,3 @@ include LICENSE include README.rst include docs/* -include tests/yaml-1.2-spec-examples/* diff --git a/setup.py b/setup.py index 7d05f3a..74ad899 100644 --- a/setup.py +++ b/setup.py @@ -44,7 +44,8 @@ setup( packages=find_packages(), entry_points={'console_scripts': ['yamllint=yamllint.cli:run']}, - package_data={'yamllint': ['conf/*.yml']}, + package_data={'yamllint': ['conf/*.yml'], + 'tests': ['yaml-1.2-spec-examples/*']}, install_requires=['pyyaml'], tests_require=['nose'], test_suite='nose.collector',