Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

Commit

Permalink
Switch to io.open to get the 'encoding' parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
dreness committed Jan 9, 2021
1 parent 8b197d2 commit bad23e0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -33,7 +34,8 @@

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"

Expand Down

0 comments on commit bad23e0

Please sign in to comment.