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
.PHONY: distclean
distclean: clean
-rm *.deb
-rm -f *.deb
# build and install a new debian package

Wyświetl plik

@ -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

Wyświetl plik

@ -16,27 +16,13 @@
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
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,
]
)