kopia lustrzana https://github.com/NanoVNA-Saver/nanovna-saver
try to get version in about
rodzic
3c752a9731
commit
2bab4d4b0d
|
@ -18,7 +18,10 @@
|
||||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
from setuptools_scm import get_version
|
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 = (
|
VERSION_URL = (
|
||||||
"https://raw.githubusercontent.com/"
|
"https://raw.githubusercontent.com/"
|
||||||
|
|
Ładowanie…
Reference in New Issue