forked from pool/python-feedgenerator
- update to version 1.9.1 - remove separate license file: now included in source tarball - add fix_encoding_in_setup_py.patch to fix build failure OBS-URL: https://build.opensuse.org/request/show/774230 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-feedgenerator?expand=0&rev=8
19 lines
603 B
Diff
19 lines
603 B
Diff
--- feedgenerator-1.9.1.orig/setup.py
|
|
+++ feedgenerator-1.9.1/setup.py
|
|
@@ -3,12 +3,14 @@
|
|
# Using setuptools rather than distutils to get the `develop` command
|
|
from setuptools import setup
|
|
|
|
+# Needed to specify the encoding
|
|
+from io import open
|
|
|
|
NAME = 'feedgenerator'
|
|
PACKAGES = ['feedgenerator', 'feedgenerator.django',
|
|
'feedgenerator.django.utils']
|
|
DESCRIPTION = 'Standalone version of django.utils.feedgenerator'
|
|
-LONG_DESCRIPTION = open('README.rst').read()
|
|
+LONG_DESCRIPTION = open('README.rst', encoding='utf-8').read()
|
|
|
|
URL = "https://github.com/getpelican/feedgenerator"
|
|
|