diff --git a/setup.py b/setup.py index a1034d4c..563c7f66 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,5 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -import io import re import setuptools @@ -13,7 +12,7 @@ def get_version(): version_filepath = Path('src', 'highdicom', 'version.py') - with io.open(version_filepath, 'rt', encoding='utf8') as f: + with open(version_filepath, 'rt', encoding='utf8') as f: version = re.search(r'__version__ = \'(.*?)\'', f.read()).group(1) return version