mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 00:04:42 +04:00
yaml extensions and ordereddict are now imported from asottile.
This commit is contained in:
parent
c0a0a21680
commit
e58d28aad3
8 changed files with 18 additions and 99 deletions
24
setup.py
24
setup.py
|
|
@ -1,21 +1,7 @@
|
|||
import sys
|
||||
from setuptools import find_packages
|
||||
from setuptools import setup
|
||||
|
||||
|
||||
install_requires = [
|
||||
'argparse',
|
||||
'jsonschema',
|
||||
'plumbum',
|
||||
'pyyaml',
|
||||
'simplejson',
|
||||
]
|
||||
|
||||
|
||||
if sys.version_info < (2, 7):
|
||||
install_requires.append('ordereddict')
|
||||
|
||||
|
||||
setup(
|
||||
name='pre_commit',
|
||||
description='A framework for managing and maintaining multi-language pre-commit hooks.',
|
||||
|
|
@ -38,7 +24,15 @@ setup(
|
|||
'resources/pre-commit.sh'
|
||||
]
|
||||
},
|
||||
install_requires=install_requires,
|
||||
install_requires=[
|
||||
'argparse',
|
||||
'asottile.ordereddict',
|
||||
'asottile.yaml',
|
||||
'jsonschema',
|
||||
'plumbum',
|
||||
'pyyaml',
|
||||
'simplejson',
|
||||
],
|
||||
entry_points={
|
||||
'console_scripts': [
|
||||
'pre-commit = pre_commit.run:run',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue