#29373: Provide a description for PyPI
--------------------------------------+------------------------------------
Reporter: Florian Apolloner | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Packaging | Version: 2.0
Severity: Release blocker | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Comment (by Claude Paroz):
Could be as easy as:
{{{
diff --git a/setup.py b/setup.py
index 32dfc9d291..0a6ee89ea0 100644
--- a/setup.py
+++ b/setup.py
@@ -1,6 +1,7 @@
import os
import sys
from distutils.sysconfig import get_python_lib
+from pathlib import Path
from setuptools import find_packages, setup
@@ -70,6 +71,7 @@ setup(
author_email='[email protected]',
description=('A high-level Python Web framework that encourages '
'rapid development and clean, pragmatic design.'),
+ long_description=Path('README.rst').read_text(),
license='BSD',
packages=find_packages(exclude=EXCLUDE_FROM_PACKAGES),
include_package_data=True,
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/29373#comment:6>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/066.9eabcca8421620b5acbf924762de1594%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.