Distribution: Add MANIFEST.in

`yamllint/conf/*.yml` remains in `setup.py`'s `package_data` because it
needs to be installed when running `pip install .`.

`docs/*` and `tests/yaml-1.2-spec-examples/*` just need to be packaged,
they can go in the manifest.
This commit is contained in:
Adrien Vergé 2016-02-24 21:04:20 +01:00
parent 611a560082
commit e6dc67fd0a
2 changed files with 3 additions and 2 deletions

2
MANIFEST.in Normal file
View File

@ -0,0 +1,2 @@
include docs/*
include tests/yaml-1.2-spec-examples/*

View File

@ -44,8 +44,7 @@ setup(
packages=find_packages(),
entry_points={'console_scripts': ['yamllint=yamllint.cli:run']},
package_data={'yamllint': ['conf/*.yml'],
'tests': ['yaml-1.2-spec-examples/*']},
package_data={'yamllint': ['conf/*.yml']},
install_requires=['pyyaml'],
tests_require=['nose'],
test_suite='nose.collector',