mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14: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=[
|
install_requires=[
|
||||||
'argparse',
|
|
||||||
'aspy.yaml',
|
'aspy.yaml',
|
||||||
'cached-property',
|
'cached-property',
|
||||||
'jsonschema',
|
'jsonschema',
|
||||||
'nodeenv>=0.11.1',
|
'nodeenv>=0.11.1',
|
||||||
'ordereddict',
|
|
||||||
'pyterminalsize',
|
'pyterminalsize',
|
||||||
'pyyaml',
|
'pyyaml',
|
||||||
'virtualenv',
|
'virtualenv',
|
||||||
],
|
],
|
||||||
|
extras_require={
|
||||||
|
':python_version=="2.6"': ['argparse', 'ordereddict'],
|
||||||
|
},
|
||||||
entry_points={
|
entry_points={
|
||||||
'console_scripts': [
|
'console_scripts': [
|
||||||
'pre-commit = pre_commit.main:main',
|
'pre-commit = pre_commit.main:main',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue