#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 Tim Graham):
I don't think we can use `pathlib` if we want `setup.py` to remain Python
2.7 compatible as discussed in 32ade4d73b50aed77efdb9dd7371c17f89061afc
(#28878).
[https://pythonhosted.org/an_example_pypi_project/setuptools.html
pythonhosted.org] suggests:
{{{
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
...
long_description=read('README.rst'),
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/29373#comment:8>
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.c1a91ff25b1e70dcedd908fdad3daceb%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.