kopia lustrzana https://github.com/NanoVNA-Saver/nanovna-saver
About module added for localization of details
rodzic
fb562a6f73
commit
ed0ab39c8c
|
@ -30,6 +30,7 @@ from .Calibration import CalibrationWindow, Calibration
|
||||||
from .Marker import Marker
|
from .Marker import Marker
|
||||||
from .SweepWorker import SweepWorker
|
from .SweepWorker import SweepWorker
|
||||||
from .Touchstone import Touchstone
|
from .Touchstone import Touchstone
|
||||||
|
from .about import version as ver
|
||||||
|
|
||||||
Datapoint = collections.namedtuple('Datapoint', 'freq re im')
|
Datapoint = collections.namedtuple('Datapoint', 'freq re im')
|
||||||
|
|
||||||
|
@ -38,7 +39,7 @@ PID = 22336
|
||||||
|
|
||||||
|
|
||||||
class NanoVNASaver(QtWidgets.QWidget):
|
class NanoVNASaver(QtWidgets.QWidget):
|
||||||
version = "0.0.9"
|
version = ver
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super().__init__()
|
super().__init__()
|
||||||
|
|
|
@ -0,0 +1,18 @@
|
||||||
|
# NanoVNASaver - a python program to view and export Touchstone data from a NanoVNA
|
||||||
|
# Copyright (C) 2019. Rune B. Broberg
|
||||||
|
#
|
||||||
|
# This program is free software: you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation, either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
version = '0.0.9'
|
||||||
|
|
5
setup.py
5
setup.py
|
@ -15,7 +15,8 @@
|
||||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
from NanoVNASaver.NanoVNASaver import NanoVNASaver
|
from NanoVNASaver.about import version
|
||||||
|
|
||||||
if sys.version_info < (3, 7):
|
if sys.version_info < (3, 7):
|
||||||
print("You need at least Python 3.7 for this application!")
|
print("You need at least Python 3.7 for this application!")
|
||||||
if sys.version_info[0] < 3:
|
if sys.version_info[0] < 3:
|
||||||
|
@ -35,7 +36,7 @@ with open("README.md", "r") as fh:
|
||||||
setup(
|
setup(
|
||||||
name='NanoVNASaver',
|
name='NanoVNASaver',
|
||||||
url='https://github.com/mihtjel/nanovna-saver',
|
url='https://github.com/mihtjel/nanovna-saver',
|
||||||
version=NanoVNASaver.version,
|
version=version,
|
||||||
author='Rune B. Broberg',
|
author='Rune B. Broberg',
|
||||||
author_email='',
|
author_email='',
|
||||||
packages=find_packages(),
|
packages=find_packages(),
|
||||||
|
|
Ładowanie…
Reference in New Issue