Skip to content

Commit ba97b66

Browse files
committed
Include README as long_description
1 parent 4e5c7e8 commit ba97b66

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ matrix:
1212
- env: TOXENV=py36
1313
python: 3.6
1414
- env: TOXENV=pypy
15-
python: pypy-5.7.1
15+
python: pypy2.7-5.10.0
1616
install: pip install coveralls tox
1717
script: tox
1818
before_install:

setup.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
11
from setuptools import find_packages
22
from setuptools import setup
33

4+
with open('README.md') as f:
5+
long_description = f.read()
46

57
setup(
68
name='pre_commit',
79
description=(
810
'A framework for managing and maintaining multi-language pre-commit '
911
'hooks.'
1012
),
13+
long_description=long_description,
14+
long_description_content_type='text/markdown',
1115
url='https://github.com/pre-commit/pre-commit',
1216
version='1.10.1',
13-
1417
author='Anthony Sottile',
1518
author_email='asottile@umich.edu',
16-
1719
classifiers=[
1820
'License :: OSI Approved :: MIT License',
1921
'Programming Language :: Python :: 2',
@@ -24,7 +26,6 @@
2426
'Programming Language :: Python :: Implementation :: CPython',
2527
'Programming Language :: Python :: Implementation :: PyPy',
2628
],
27-
2829
packages=find_packages(exclude=('tests*', 'testing*')),
2930
package_data={
3031
'pre_commit': [

0 commit comments

Comments
 (0)