Skip to content

Commit

Permalink
remove deprecated open option to support python 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterKogan committed Mar 8, 2023
1 parent 34eedf5 commit 56aea08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
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',
Expand Down

0 comments on commit 56aea08

Please sign in to comment.