File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11import setuptools
22from setuptools import find_packages
33
4- with open ("readme.md" , "r" ) as fh :
4+ with open ("readme.md" , "r" , encoding = "utf-8" ) as fh :
55 long_description = fh .read ()
66
77
88vars2find = ["__author__" , "__version__" , "__url__" ]
99vars2readme = {}
10- with open ("./nano_graphrag/__init__.py" ) as f :
10+ with open ("./nano_graphrag/__init__.py" , encoding = "utf-8" ) as f :
1111 for line in f .readlines ():
1212 for v in vars2find :
1313 if line .startswith (v ):
1414 line = line .replace (" " , "" ).replace ('"' , "" ).replace ("'" , "" ).strip ()
1515 vars2readme [v ] = line .split ("=" )[1 ]
1616
1717deps = []
18- with open ("./requirements.txt" ) as f :
18+ with open ("./requirements.txt" , encoding = "utf-8" ) as f :
1919 for line in f .readlines ():
2020 if not line .strip ():
2121 continue
You can’t perform that action at this time.
0 commit comments