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.
pull/4/head
Adrien Vergé 9 years ago
parent 611a560082
commit e6dc67fd0a

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

@ -44,8 +44,7 @@ setup(
packages=find_packages(), packages=find_packages(),
entry_points={'console_scripts': ['yamllint=yamllint.cli:run']}, 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'], install_requires=['pyyaml'],
tests_require=['nose'], tests_require=['nose'],
test_suite='nose.collector', test_suite='nose.collector',

Loading…
Cancel
Save