Skip to content

Commit d4fa15c

Browse files
authored
fix finding packages in setup.py (#19)
1 parent e1af78d commit d4fa15c

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed

CHANGELOG.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88
## [Unreleased]
99

1010

11+
## [1.0.1] - 2021-09-27
12+
### Fixed
13+
- Packaging issue.
14+
15+
1116
## [1.0.0] - 2021-09-27
1217
### Added
1318
- Support for QRZ lookup.
@@ -18,5 +23,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1823
- Command-line interface.
1924

2025

21-
[Unreleased]: https://github.com/miaowware/callsignlookuptools/compare/v1.0.0...HEAD
26+
[Unreleased]: https://github.com/miaowware/callsignlookuptools/compare/v1.0.1...HEAD
27+
[1.0.1]: https://github.com/miaowware/callsignlookuptools/releases/tag/v1.0.1
2228
[1.0.0]: https://github.com/miaowware/callsignlookuptools/releases/tag/v1.0.0

callsignlookuptools/__info__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
__summary__ = "QRZ, Callook, HamQTH, and QRZCQ API interface with sync and async support"
77
__webpage__ = "https://callsignlookuptools.miaow.io"
88

9-
__version__ = "1.0.0"
9+
__version__ = "1.0.1"
1010

1111
__author__ = "classabbyamp, 0x5c"
1212

setup.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import pathlib
2-
from setuptools import setup # type: ignore
2+
from setuptools import setup, find_packages # type: ignore
33
import callsignlookuptools.__info__ as info
44

55
# The directory containing this file
@@ -29,7 +29,7 @@
2929
"Topic :: Communications :: Ham Radio",
3030
"Framework :: AsyncIO",
3131
],
32-
packages=["callsignlookuptools"],
32+
packages=find_packages(exclude=["tests", "docs"]),
3333
package_data={
3434
"callsignlookuptools": ["py.typed"]
3535
},
@@ -43,5 +43,6 @@
4343
"cli": ["typer[all]", "click-help-colors"],
4444
"async": ["aiohttp"],
4545
"all": ["aiohttp"]
46-
}
46+
},
47+
python_requires=">=3.9",
4748
)

0 commit comments

Comments
 (0)