diff --git a/Makefile b/Makefile index f4e1413..82b52bd 100644 --- a/Makefile +++ b/Makefile @@ -30,7 +30,7 @@ clean: # remove all package build artefacts .PHONY: distclean distclean: clean - -rm *.deb + -rm -f *.deb # build and install a new debian package diff --git a/setup.cfg b/setup.cfg index 6ab3140..364ec29 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,12 +1,14 @@ [metadata] name = NanoVNASaver author = Rune B. Broberg +author_email= NanoVNA-Saver@users.noreply.github.com license = GNU GPL V3 -license_file = LICENSE -description = A Qt GUI for the NanoVNA and derivates +license_files = LICENSE, +description = GUI for the NanoVNA and derivates long_description = file: README.md url = https://github.com/NanoVNA-Saver/nanovna-saver version = attr: NanoVNASaver.About.VERSION +platforms= all [options] packages = find_namespace: @@ -21,3 +23,4 @@ python_requires = >=3.8, <4 [options.entry_points] console_scripts = NanoVNASaver = NanoVNASaver.__main__:main + diff --git a/setup.py b/setup.py index 7e70413..ca87cdf 100644 --- a/setup.py +++ b/setup.py @@ -16,27 +16,13 @@ # # You should have received a copy of the GNU General Public License # along with this program. If not, see . - from setuptools import setup - -data_files=[ +setup( + data_files=[ ( "share/doc/nanovnasaver/", [ "CHANGELOG.md", "LICENSE", "README.md" ] ), ( "share/applications/", [ "NanoVNASaver.desktop" ] ), ( "share/icons/hicolor/48x48/apps/", [ "NanoVNASaver_48x48.png" ] ), -] - - -setup( -author="NanoVNA-Saver organization", -author_email="NanoVNA-Saver@users.noreply.github.com", -url="https://github.com/NanoVNA-Saver/nanovna-saver", -description="GUI for the NanoVNA and derivates", -long_description="""A multiplatform tool to save Touchstone files from the NanoVNA, -sweep frequency spans in segments to gain more data points, -and generally display and analyze the resulting data. -""", -license="GPLv3", -platforms=[ "all" ], -data_files=data_files, + ] ) +