mirror of
https://github.com/adrienverge/yamllint.git
synced 2025-02-25 18:55:20 -06:00
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`.
This commit is contained in:
parent
7983c66093
commit
e3ebea6033
2
setup.py
2
setup.py
@ -45,6 +45,8 @@ setup(
|
|||||||
scripts=['bin/yamllint'],
|
scripts=['bin/yamllint'],
|
||||||
package_data={'yamllint': ['conf/*.yml']},
|
package_data={'yamllint': ['conf/*.yml']},
|
||||||
install_requires=['pyyaml'],
|
install_requires=['pyyaml'],
|
||||||
|
setup_requires=['pyyaml'], # importing `yamllint` (for APP_NAME etc.)
|
||||||
|
# requires importing `yaml`
|
||||||
tests_require=['nose'],
|
tests_require=['nose'],
|
||||||
test_suite='nose.collector',
|
test_suite='nose.collector',
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user