Skip to content

Commit

Permalink
Update setup.py
Browse files Browse the repository at this point in the history
Removed 'U' flag from file mode, it is deprecated.
  • Loading branch information
mistressAlisi authored Apr 14, 2023
1 parent 1a1551c commit 56ef65a
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 56ef65a

Please sign in to comment.