Improve version handling

This commit is contained in:
Fabian 2022-09-29 03:10:56 +02:00
parent 833b734434
commit be60aafa00
2 changed files with 5 additions and 6 deletions

View File

@ -1 +1,5 @@
from _version import __version__, __version_tuple__
try:
from _version import __version__, __version_tuple__
except ImportError:
__version__ = version = '1.0.0.dev0'
__version_tuple__ = version_tuple = (1, 0, 0, 'dev0')

View File

@ -1,5 +0,0 @@
# coding: utf-8
# file generated by setuptools_scm
# don't change, don't track in version control
__version__ = version = '1.0.0.dev0'
__version_tuple__ = version_tuple = (1, 0, 0, 'dev0')