From e6dc67fd0ac9cf65468472bb37d088d20ec465db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20Verg=C3=A9?= Date: Wed, 24 Feb 2016 21:04:20 +0100 Subject: [PATCH] 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. --- MANIFEST.in | 2 ++ setup.py | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 MANIFEST.in diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..102c900 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,2 @@ +include docs/* +include tests/yaml-1.2-spec-examples/* diff --git a/setup.py b/setup.py index 74ad899..7d05f3a 100644 --- a/setup.py +++ b/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',