kept most setup info in setup.cfg

TODO: switch to pyproject.toml in future
pull/564/head
Holger Müller 2022-10-15 17:01:39 +02:00
rodzic 0485e2c8c2
commit 239edc1cd0
3 zmienionych plików z 10 dodań i 21 usunięć

Wyświetl plik

@ -30,7 +30,7 @@ clean:
# remove all package build artefacts # remove all package build artefacts
.PHONY: distclean .PHONY: distclean
distclean: clean distclean: clean
-rm *.deb -rm -f *.deb
# build and install a new debian package # build and install a new debian package

Wyświetl plik

@ -1,12 +1,14 @@
[metadata] [metadata]
name = NanoVNASaver name = NanoVNASaver
author = Rune B. Broberg author = Rune B. Broberg
author_email= NanoVNA-Saver@users.noreply.github.com
license = GNU GPL V3 license = GNU GPL V3
license_file = LICENSE license_files = LICENSE,
description = A Qt GUI for the NanoVNA and derivates description = GUI for the NanoVNA and derivates
long_description = file: README.md long_description = file: README.md
url = https://github.com/NanoVNA-Saver/nanovna-saver url = https://github.com/NanoVNA-Saver/nanovna-saver
version = attr: NanoVNASaver.About.VERSION version = attr: NanoVNASaver.About.VERSION
platforms= all
[options] [options]
packages = find_namespace: packages = find_namespace:
@ -21,3 +23,4 @@ python_requires = >=3.8, <4
[options.entry_points] [options.entry_points]
console_scripts = console_scripts =
NanoVNASaver = NanoVNASaver.__main__:main NanoVNASaver = NanoVNASaver.__main__:main

Wyświetl plik

@ -16,27 +16,13 @@
# #
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# 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 import setup from setuptools import setup
setup(
data_files=[ data_files=[
( "share/doc/nanovnasaver/", [ "CHANGELOG.md", "LICENSE", "README.md" ] ), ( "share/doc/nanovnasaver/", [ "CHANGELOG.md", "LICENSE", "README.md" ] ),
( "share/applications/", [ "NanoVNASaver.desktop" ] ), ( "share/applications/", [ "NanoVNASaver.desktop" ] ),
( "share/icons/hicolor/48x48/apps/", [ "NanoVNASaver_48x48.png" ] ), ( "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,
) )