Skip to content

Commit 3d03b99

Browse files
setup: fix subpackages install
Windows ``pip install`` resulted in missing msgpack_ext folder scripts. Package finder together with empty inits fixes it. Part of #238
1 parent e98da1a commit 3d03b99

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
143143
- Update documentation index, quick start and guide pages (#67).
144144

145145
### Fixed
146+
- Package build (#238).
146147

147148
## 0.9.0 - 2022-06-20
148149

setup.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
import re
66

77
try:
8-
from setuptools import setup
8+
from setuptools import setup, find_packages
99
except ImportError:
10-
from distutils.core import setup
10+
from distutils.core import setup, find_packages
1111

1212
# Extra commands for documentation management
1313
cmdclass = {}
@@ -70,7 +70,7 @@ def find_version(*file_paths):
7070

7171
setup(
7272
name="tarantool",
73-
packages=["tarantool"],
73+
packages=find_packages("."),
7474
package_dir={"tarantool": "tarantool"},
7575
include_package_data=True,
7676
version=find_version('tarantool', '__init__.py'),

tarantool/msgpack_ext/__init__.py

Whitespace-only changes.

tarantool/msgpack_ext/types/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)