mirror of https://github.com/python/cpython
Merged revisions 88613 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r88613 | eric.araujo | 2011-02-25 22:40:34 +0100 (ven., 25 févr. 2011) | 2 lines Add missing read() in distutils doc. ........
This commit is contained in:
parent
bd65e7fa46
commit
682f6a7a1c
|
@ -57,8 +57,11 @@ in the package::
|
|||
|
||||
from distutils.core import setup
|
||||
|
||||
with open('README.txt') as file:
|
||||
long_description = file.read()
|
||||
|
||||
setup(name='Distutils',
|
||||
long_description=open('README.txt'))
|
||||
long_description=long_description)
|
||||
|
||||
In that case, :file:`README.txt` is a regular reStructuredText text file located
|
||||
in the root of the package besides :file:`setup.py`.
|
||||
|
|
Loading…
Reference in New Issue