Distribution: Fix broken setup_requires

The `pyyaml` dependency is needed in `install_requires` but also in
`setup_requires`, because running `setup.py` requires importing
`yamllint`, which itself imports `yaml`.
pull/4/head
Adrien Vergé 9 years ago
parent 7983c66093
commit e3ebea6033

@ -45,6 +45,8 @@ setup(
scripts=['bin/yamllint'],
package_data={'yamllint': ['conf/*.yml']},
install_requires=['pyyaml'],
setup_requires=['pyyaml'], # importing `yamllint` (for APP_NAME etc.)
# requires importing `yaml`
tests_require=['nose'],
test_suite='nose.collector',
)

Loading…
Cancel
Save