Dulwich.io dulwich / 29fd29e
Fix setup.py: * read "README.md" with "utf-8" encoding egor authored 1 year, 12 days ago Jelmer Vernooń≥ committed 1 year, 12 days ago
1 changed file(s) with 3 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
1010 else:
1111 has_setuptools = True
1212 from distutils.core import Distribution
13 import io
1314 import os
1415 import sys
1516
8283 setup_kwargs['test_suite'] = 'dulwich.tests.test_suite'
8384 setup_kwargs['tests_require'] = tests_require
8485
85 with open('README.md', 'r') as f:
86 with io.open(os.path.join(os.path.dirname(__file__), "README.md"),
87 encoding="utf-8") as f:
8688 description = f.read()
8789
8890 setup(name='dulwich',