try to get version in about

pull/624/head
Holger Müller 2023-03-15 12:06:13 +01:00
rodzic 3c752a9731
commit 2bab4d4b0d
1 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -18,7 +18,10 @@
# along with this program. If not, see <https://www.gnu.org/licenses/>.
from setuptools_scm import get_version
version = get_version() # root='.', relative_to=__file__)
try:
version = get_version(root='..', relative_to=__file__)
except LookupError:
from NanoVNASaver._version import version
VERSION_URL = (
"https://raw.githubusercontent.com/"