From d4fa15c82c37e48b9a3945b337170b05691a3824 Mon Sep 17 00:00:00 2001 From: classabbyamp <5366828+classabbyamp@users.noreply.github.com> Date: Mon, 27 Sep 2021 20:27:33 -0400 Subject: [PATCH] fix finding packages in setup.py (#19) --- CHANGELOG.md | 8 +++++++- callsignlookuptools/__info__.py | 2 +- setup.py | 7 ++++--- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c57654..f06eb36 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [1.0.1] - 2021-09-27 +### Fixed +- Packaging issue. + + ## [1.0.0] - 2021-09-27 ### Added - Support for QRZ lookup. @@ -18,5 +23,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Command-line interface. -[Unreleased]: https://github.com/miaowware/callsignlookuptools/compare/v1.0.0...HEAD +[Unreleased]: https://github.com/miaowware/callsignlookuptools/compare/v1.0.1...HEAD +[1.0.1]: https://github.com/miaowware/callsignlookuptools/releases/tag/v1.0.1 [1.0.0]: https://github.com/miaowware/callsignlookuptools/releases/tag/v1.0.0 diff --git a/callsignlookuptools/__info__.py b/callsignlookuptools/__info__.py index 7cb36f7..ef77365 100644 --- a/callsignlookuptools/__info__.py +++ b/callsignlookuptools/__info__.py @@ -6,7 +6,7 @@ __summary__ = "QRZ, Callook, HamQTH, and QRZCQ API interface with sync and async support" __webpage__ = "https://callsignlookuptools.miaow.io" -__version__ = "1.0.0" +__version__ = "1.0.1" __author__ = "classabbyamp, 0x5c" __email__ = "dev@kb6.ee, dev@0x5c.io" diff --git a/setup.py b/setup.py index 821540c..067cc06 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,5 @@ import pathlib -from setuptools import setup # type: ignore +from setuptools import setup, find_packages # type: ignore import callsignlookuptools.__info__ as info # The directory containing this file @@ -29,7 +29,7 @@ "Topic :: Communications :: Ham Radio", "Framework :: AsyncIO", ], - packages=["callsignlookuptools"], + packages=find_packages(exclude=["tests", "docs"]), package_data={ "callsignlookuptools": ["py.typed"] }, @@ -43,5 +43,6 @@ "cli": ["typer[all]", "click-help-colors"], "async": ["aiohttp"], "all": ["aiohttp"] - } + }, + python_requires=">=3.9", )