From 79a49d9803095d9d62984f62265fc7de72c8b4bd Mon Sep 17 00:00:00 2001 From: "John W. O'Brien" Date: Tue, 28 Jul 2020 21:10:30 -0400 Subject: Explicitly decode README as UTF-8 --- setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index ca1fedb..76b157d 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,7 @@ #!/usr/bin/env python +from io import open + # Using setuptools rather than distutils to get the `develop` command from setuptools import setup @@ -8,7 +10,7 @@ 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" -- cgit v1.2.1