Skip to content

Commit 495e21b

Browse files
committed
Merge pull request #358 from pre-commit/use_markers
Only require argparse / ordereddict under py26
2 parents 6cf2a9b + b61cf58 commit 495e21b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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)