You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-python/sphinxcontrib-googleanalytics/files/setup.py.utf-8.patch

17 lines
409 B

https://bugs.gentoo.org/show_bug.cgi?id=429914
--- setup.py
+++ setup.py
@@ -1,10 +1,11 @@
# -*- coding: utf-8 -*-
+import codecs
import os
from setuptools import setup, find_packages
HERE = os.path.dirname(os.path.abspath(__file__))
-long_desc = open(os.path.join(HERE, 'README')).read()
+long_desc = codecs.open(os.path.join(HERE, 'README'), encoding='utf-8').read()
requires = ['Sphinx>=0.6']