Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b61cf58

Browse files
committed
Only require argparse / ordereddict under py26
1 parent 6cf2a9b commit b61cf58

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,17 @@
3939
]
4040
},
4141
install_requires=[
42-
'argparse',
4342
'aspy.yaml',
4443
'cached-property',
4544
'jsonschema',
4645
'nodeenv>=0.11.1',
47-
'ordereddict',
4846
'pyterminalsize',
4947
'pyyaml',
5048
'virtualenv',
5149
],
50+
extras_require={
51+
':python_version=="2.6"': ['argparse', 'ordereddict'],
52+
},
5253
entry_points={
5354
'console_scripts': [
5455
'pre-commit = pre_commit.main:main',

0 commit comments

Comments
 (0)