[PATCH 1/3] setup: Read long_description from README
John Summer
webmaster at jtzenterprise.com
Fri Dec 23 18:49:39 UTC 2016
First, let me thank you for your reply. I am still struggling to fix my
error.
I do not understand what you are sending me. I attempted to run the
first line below in a shell and in python and got errors both times.
I do not believe the python.py is on my server. Should I attempt to
install it?
John Summer
JTZ Enterprise
On 12/23/2016 12:27 PM, Thomas Bechtold wrote:
> From: Thomas Bechtold <tbechtold at suse.com>
>
> ---
> setup.py | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/setup.py b/setup.py
> index bfa4a18..dfa5f37 100644
> --- a/setup.py
> +++ b/setup.py
> @@ -4,7 +4,9 @@ import urlgrabber as _urlgrabber
>
> name = "urlgrabber"
> description = "A high-level cross-protocol url-grabber"
> -long_description = _urlgrabber.__doc__
> +f = open('README', 'r')
> +long_description = f.read()
> +f.close()
> license = "LGPL"
> version = _urlgrabber.__version__
> _authors = _re.split(r',\s+', _urlgrabber.__author__)
More information about the Yum-devel
mailing list