mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-01-13 12:30:08 -06:00
Only require argparse / ordereddict under py26
This commit is contained in:
5
setup.py
5
setup.py
@@ -39,16 +39,17 @@ setup(
|
||||
]
|
||||
},
|
||||
install_requires=[
|
||||
'argparse',
|
||||
'aspy.yaml',
|
||||
'cached-property',
|
||||
'jsonschema',
|
||||
'nodeenv>=0.11.1',
|
||||
'ordereddict',
|
||||
'pyterminalsize',
|
||||
'pyyaml',
|
||||
'virtualenv',
|
||||
],
|
||||
extras_require={
|
||||
':python_version=="2.6"': ['argparse', 'ordereddict'],
|
||||
},
|
||||
entry_points={
|
||||
'console_scripts': [
|
||||
'pre-commit = pre_commit.main:main',
|
||||
|
||||
Reference in New Issue
Block a user