python-bunch/bunch.patch
2023-08-10 19:55:20 +08:00

14 lines
420 B
Diff

diff --git a/setup.py b/setup.py
index b10f09e..278ee21 100644
--- a/setup.py
+++ b/setup.py
@@ -8,7 +8,7 @@ from setuptools import setup
HERE = abspath(dirname(__file__))
readme = open(join(HERE, 'README.rst')).read()
-package_file = open(join(HERE, 'bunch/__init__.py'), 'rU')
+package_file = open(join(HERE, 'bunch/__init__.py'), 'r')
__version__ = re.sub(
r".*\b__version__\s+=\s+'([^']+)'.*",
r'\1',