Skip to content

Commit d4cbee9

Browse files
author
Adith Swaminathan
committed
Fix for installing on Win11 systems
1 parent 37e1036 commit d4cbee9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
here = os.path.abspath(os.path.dirname(__file__))
55
version = {}
6-
with open(os.path.join(here, "opto/version.py")) as fp:
6+
with open(os.path.join(here, "opto/version.py"), encoding="utf8") as fp:
77
exec(fp.read(), version)
88
__version__ = version["__version__"]
99

@@ -23,7 +23,7 @@
2323
url="https://github.com/microsoft/trace",
2424
license='MIT LICENSE',
2525
description="An AutoDiff-like tool for training AI systems end-to-end with general feedback",
26-
long_description=open('README.md').read(),
26+
long_description=open('README.md', encoding="utf8").read(),
2727
packages=setuptools.find_packages(include=["opto*"]),
2828
install_requires=install_requires,
2929
python_requires=">=3.9",

0 commit comments

Comments
 (0)