Commit 2035103a authored by Éric Araujo's avatar Éric Araujo

Add missing read() in distutils doc.

parent 707ce82c
......@@ -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`.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment