mirror of
https://github.com/adrienverge/yamllint.git
synced 2024-11-25 17:10:16 -06:00
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:
parent
611a560082
commit
e6dc67fd0a
2
MANIFEST.in
Normal file
2
MANIFEST.in
Normal file
@ -0,0 +1,2 @@
|
||||
include docs/*
|
||||
include tests/yaml-1.2-spec-examples/*
|
3
setup.py
3
setup.py
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user