Open
Description
according to https://docs.python.org/3/whatsnew/3.13.html#defined-mutation-semantics-for-locals, we need some modifications. We need to update get_version
function in setup.py
:
def get_version():
with open(version_file, 'r') as f:
version_dict = {}
exec(compile(f.read(), version_file, 'exec'), version_dict)
import sys
# return short version for sdist
if 'sdist' in sys.argv or 'bdist_wheel' in sys.argv:
return version_dict['short_version']
else:
return version_dict['__version__']
Metadata
Metadata
Assignees
Labels
No labels