Skip to content

Commit f920ce2

Browse files
authored
Fix package data inclusion rules
1 parent 304b282 commit f920ce2

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
## Changelog
22

3+
### [1.1.1] - 2022-07-09
4+
#### Fixed
5+
- fix missing type stubs
6+
37
### [1.1.0] - 2022-07-04
48
#### Changed
59
- change src layout to make package import from root directory possible

MANIFEST.in

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@ include CMakeLists.txt
44
include README.md
55
include LICENSE
66
include pyproject.toml
7-
include src/jarowinkler/*.pyi
87
include src/jarowinkler/py.typed
98

109
recursive-include src/jarowinkler CMakeLists.txt
11-
recursive-include src/jarowinkler *.hpp *.pyx *.pxd *.cxx
10+
recursive-include src/jarowinkler *.hpp *.pyx *.pxd *.cxx *.pyi
1211
recursive-include tests *
1312

1413
include extern/jarowinkler-cpp/LICENSE

setup.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def show_message(*lines):
1111

1212
setup_args = {
1313
"name": "jarowinkler",
14-
"version": "1.1.0",
14+
"version": "1.1.1",
1515
"url": "https://github.com/maxbachmann/JaroWinkler",
1616
"author": "Max Bachmann",
1717
"author_email": "pypi@maxbachmann.de",
@@ -31,11 +31,8 @@ def show_message(*lines):
3131
],
3232

3333
"packages": ["jarowinkler"],
34-
"package_dir": {'jarowinkler': 'src/jarowinkler'},
35-
"package_data": {"src/jarowinkler": [
36-
"*.pyi",
37-
"py.typed"
38-
]},
34+
"package_dir": {'': 'src'},
35+
"package_data": {"jarowinkler": ["*.pyi", "py.typed"]},
3936
"python_requires": ">=3.6"
4037
}
4138

src/jarowinkler/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
__author__: str = "Max Bachmann"
22
__license__: str = "MIT"
3-
__version__: str = "1.1.0"
3+
__version__: str = "1.1.1"
44

55
def _fallback_import(module: str, name: str):
66
import importlib

0 commit comments

Comments
 (0)