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
6439c00a6d
commit
af8728a352
|
@ -59,8 +59,11 @@ in the package::
|
||||||
|
|
||||||
from distutils.core import setup
|
from distutils.core import setup
|
||||||
|
|
||||||
|
with open('README.txt') as file:
|
||||||
|
long_description = file.read()
|
||||||
|
|
||||||
setup(name='Distutils',
|
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 that case, :file:`README.txt` is a regular reStructuredText text file located
|
||||||
in the root of the package besides :file:`setup.py`.
|
in the root of the package besides :file:`setup.py`.
|
||||||
|
|
Loading…
Reference in New Issue