Skip to content
Snippets Groups Projects
Commit 35f50aae authored by Andre LaBranche's avatar Andre LaBranche
Browse files

Switch to io.open to get the 'encoding' parameter in python2

parent 8b197d27
No related branches found
Tags PyKerberos-1.1
No related merge requests found
......@@ -16,6 +16,7 @@
from os.path import dirname, join as joinpath
from setuptools import setup, Extension
from io import open
try:
from subprocess import getoutput
......@@ -33,7 +34,8 @@ version_string = "1.3.1"
description = "Kerberos high-level interface"
long_description = open(joinpath(dirname(__file__), "README.md")).read()
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
long_description_content_type = "text/markdown"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment