mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-19 17:14:43 +04:00
Merge pull request #760 from pre-commit/long_description
Include README as long_description
This commit is contained in:
commit
d4a25b2ecf
2 changed files with 5 additions and 4 deletions
|
|
@ -12,7 +12,7 @@ matrix:
|
||||||
- env: TOXENV=py36
|
- env: TOXENV=py36
|
||||||
python: 3.6
|
python: 3.6
|
||||||
- env: TOXENV=pypy
|
- env: TOXENV=pypy
|
||||||
python: pypy-5.7.1
|
python: pypy2.7-5.10.0
|
||||||
install: pip install coveralls tox
|
install: pip install coveralls tox
|
||||||
script: tox
|
script: tox
|
||||||
before_install:
|
before_install:
|
||||||
|
|
|
||||||
7
setup.py
7
setup.py
|
|
@ -1,6 +1,8 @@
|
||||||
from setuptools import find_packages
|
from setuptools import find_packages
|
||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
|
|
||||||
|
with open('README.md') as f:
|
||||||
|
long_description = f.read()
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='pre_commit',
|
name='pre_commit',
|
||||||
|
|
@ -8,12 +10,12 @@ setup(
|
||||||
'A framework for managing and maintaining multi-language pre-commit '
|
'A framework for managing and maintaining multi-language pre-commit '
|
||||||
'hooks.'
|
'hooks.'
|
||||||
),
|
),
|
||||||
|
long_description=long_description,
|
||||||
|
long_description_content_type='text/markdown',
|
||||||
url='https://github.com/pre-commit/pre-commit',
|
url='https://github.com/pre-commit/pre-commit',
|
||||||
version='1.10.1',
|
version='1.10.1',
|
||||||
|
|
||||||
author='Anthony Sottile',
|
author='Anthony Sottile',
|
||||||
author_email='asottile@umich.edu',
|
author_email='asottile@umich.edu',
|
||||||
|
|
||||||
classifiers=[
|
classifiers=[
|
||||||
'License :: OSI Approved :: MIT License',
|
'License :: OSI Approved :: MIT License',
|
||||||
'Programming Language :: Python :: 2',
|
'Programming Language :: Python :: 2',
|
||||||
|
|
@ -24,7 +26,6 @@ setup(
|
||||||
'Programming Language :: Python :: Implementation :: CPython',
|
'Programming Language :: Python :: Implementation :: CPython',
|
||||||
'Programming Language :: Python :: Implementation :: PyPy',
|
'Programming Language :: Python :: Implementation :: PyPy',
|
||||||
],
|
],
|
||||||
|
|
||||||
packages=find_packages(exclude=('tests*', 'testing*')),
|
packages=find_packages(exclude=('tests*', 'testing*')),
|
||||||
package_data={
|
package_data={
|
||||||
'pre_commit': [
|
'pre_commit': [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue