Files
pre-commit/setup.py
2017-03-08 14:07:00 -08:00

56 lines
1.7 KiB
Python

from setuptools import find_packages
from setuptools import setup
setup(
name='pre_commit',
description=(
'A framework for managing and maintaining multi-language pre-commit '
'hooks.'
),
url='https://github.com/pre-commit/pre-commit',
version='0.13.3',
author='Anthony Sottile',
author_email='asottile@umich.edu',
platforms='linux',
classifiers=[
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
],
packages=find_packages(exclude=('tests*', 'testing*')),
package_data={
'pre_commit': [
'resources/hook-tmpl',
'resources/pre-push-tmpl',
'resources/rbenv.tar.gz',
'resources/ruby-build.tar.gz',
'resources/ruby-download.tar.gz',
'resources/empty_template/*',
'resources/empty_template/.npmignore',
],
},
install_requires=[
'aspy.yaml',
'cached-property',
'nodeenv>=0.11.1',
'pyyaml',
'virtualenv',
],
entry_points={
'console_scripts': [
'pre-commit = pre_commit.main:main',
'pre-commit-validate-config = pre_commit.clientlib:validate_config_main', # noqa
'pre-commit-validate-manifest = pre_commit.clientlib:validate_manifest_main', # noqa
],
},
)