Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 707ce82 commit 2035103Copy full SHA for 2035103
1 file changed
Doc/distutils/uploading.rst
@@ -57,8 +57,11 @@ in the package::
57
58
from distutils.core import setup
59
60
+ with open('README.txt') as file:
61
+ long_description = file.read()
62
+
63
setup(name='Distutils',
- long_description=open('README.txt'))
64
+ long_description=long_description)
65
66
In that case, :file:`README.txt` is a regular reStructuredText text file located
67
in the root of the package besides :file:`setup.py`.
0 commit comments