it may be interesting to provide a __version__ attribute available using:
print(gtabview.__version__)
to avoid to change into several place version number I'm doing this in setup.py
NAME = 'package_name'
here = path.abspath(path.dirname(__file__))'
with io.open(path.join(here, NAME, 'version.py'), 'rt', encoding='UTF-8') as f:
exec(f.read())
setup(
name=NAME,
version=__version__,
...
)
and I have a version.py file inside package directory
Hello,
it may be interesting to provide a
__version__
attribute available using:to avoid to change into several place version number I'm doing this in
setup.py
and I have a
version.py
file inside package directoryKind regards