Fixed #29373 -- Added long_description in setup.py.

This commit is contained in:
Carlton Gibson 2018-05-03 15:43:30 +02:00 committed by GitHub
parent 21fd8041c1
commit 2e1f674897
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -61,6 +61,11 @@ EXCLUDE_FROM_PACKAGES = ['django.conf.project_template',
version = __import__('django').get_version()
def read(fname):
with open(os.path.join(os.path.dirname(__file__), fname)) as f:
return f.read()
setup(
name='Django',
version=version,
@ -70,6 +75,7 @@ setup(
author_email='foundation@djangoproject.com',
description=('A high-level Python Web framework that encourages '
'rapid development and clean, pragmatic design.'),
long_description=read('README.rst'),
license='BSD',
packages=find_packages(exclude=EXCLUDE_FROM_PACKAGES),
include_package_data=True,