From f2df7f3fecf84d7b7e2e08a1f665a3a0fd7b4e6b Mon Sep 17 00:00:00 2001 From: Michael Clemens Date: Fri, 20 May 2022 17:26:23 +0200 Subject: [PATCH] created package --- setup.cfg | 34 +++++++++++++++++++++++ src/colorspot/__init__.py | 3 ++ colorspot.py => src/colorspot/__main__.py | 2 +- 3 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 setup.cfg create mode 100644 src/colorspot/__init__.py rename colorspot.py => src/colorspot/__main__.py (99%) diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..caf3985 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,34 @@ +[metadata] +name = colorspot +version = 0.1.0 +author = Michael Clemens +author_email = colorspot@qrz.is +description = A colorful CLI DX cluster client with LotW integration +long_description = file: README.md +long_description_content_type = text/markdown +url = https://git.qrz.is/clemens/colorspot +project_urls = + Bug Tracker = https://git.qrz.is/clemens/colorspot/issues +classifiers = + Programming Language :: Python :: 3 + License :: OSI Approved :: MIT License + Operating System :: OS Independent + + +[options] +package_dir = + = src +packages = find: +python_requires = >=3.6 +install_requires= + colored + requests + zipfile + telnetlib + +[options.packages.find] +where = src + +[options.entry_points] +console_scripts = + colorspot = colorspot.__main__:main diff --git a/src/colorspot/__init__.py b/src/colorspot/__init__.py new file mode 100644 index 0000000..f533f99 --- /dev/null +++ b/src/colorspot/__init__.py @@ -0,0 +1,3 @@ +from colorspot.__main__ import ColorSpot + +__version__ = '0.1.0' diff --git a/colorspot.py b/src/colorspot/__main__.py similarity index 99% rename from colorspot.py rename to src/colorspot/__main__.py index f378869..b10d788 100755 --- a/colorspot.py +++ b/src/colorspot/__main__.py @@ -13,7 +13,7 @@ | -= DK1MI =- |_| | | | | | -| A colorful cli DX cluster client with an LotW integration | +| A colorful CLI DX cluster client with LotW integration | | | | Author: Michael Clemens, DK1MI (colorspot@qrz.is) | | |