mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 00:04:42 +04:00
Only require argparse / ordereddict under py26
This commit is contained in:
parent
6cf2a9bde1
commit
b61cf58237
1 changed files with 3 additions and 2 deletions
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',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue