Pārlūkot izejas kodu

Force opening README.rst as utf-8

Causes issues if the locale is not set to utf-8
tags/v0.4
Kunal Mehta pirms 10 gadiem
vecāks
revīzija
cb875ae347
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      setup.py

+ 1
- 1
setup.py Parādīt failu

@@ -32,7 +32,7 @@ from setuptools import setup, find_packages, Extension
from mwparserfromhell import __version__
from mwparserfromhell.compat import py26, py3k

with open("README.rst") as fp:
with open("README.rst", **{'encoding':'utf-8'} if py3k else {}) as fp:
long_docs = fp.read()

tokenizer = Extension("mwparserfromhell.parser._tokenizer",


Notiek ielāde…
Atcelt
Saglabāt