setup: Add an [all_importers] extra for ease of installation.
This commit is contained in:
parent
6fb447a43a
commit
15bba54e4e
1 changed files with 5 additions and 2 deletions
7
setup.py
7
setup.py
|
@ -1,6 +1,5 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
import itertools
|
||||
import sys
|
||||
|
||||
from setuptools import setup, find_packages
|
||||
|
@ -17,11 +16,15 @@ REQUIREMENTS = {
|
|||
},
|
||||
}
|
||||
|
||||
all_extras_require = [
|
||||
req for reqlist in REQUIREMENTS['extras_require'].values() for req in reqlist
|
||||
]
|
||||
|
||||
REQUIREMENTS['extras_require']['all_importers'] = all_extras_require
|
||||
REQUIREMENTS['tests_require'] = [
|
||||
'pytest',
|
||||
'PyYAML',
|
||||
*itertools.chain(*REQUIREMENTS['extras_require'].values()),
|
||||
*all_extras_require,
|
||||
]
|
||||
|
||||
setup(
|
||||
|
|
Loading…
Reference in a new issue