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.
pull/4/head
Adrien Vergé 9 years ago
parent 29c1c60143
commit 7e11082353

@ -1,4 +1,3 @@
include LICENSE
include README.rst
include docs/*
include tests/yaml-1.2-spec-examples/*

@ -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',

Loading…
Cancel
Save