Skip to content

Commit cc20bdb

Browse files
setup: do not include test files
Include only `tarantool` package and subpackage code on install. Before this patch, test suites were installed as well. Part of #238
1 parent 10adf37 commit cc20bdb

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Diff for: CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
146146

147147
### Fixed
148148
- Package build (#238).
149+
- Do not install test files (#238).
149150

150151
## 0.9.0 - 2022-06-20
151152

Diff for: setup.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,11 @@ def find_version(*file_paths):
6767
return version_match.group(2)
6868
raise RuntimeError("Unable to find version string.")
6969

70+
packages = [item for item in find_packages('.') if item.startswith('tarantool')]
7071

7172
setup(
7273
name="tarantool",
73-
packages=find_packages("."),
74+
packages=packages,
7475
package_dir={"tarantool": "tarantool"},
7576
include_package_data=True,
7677
version=find_version('tarantool', '__init__.py'),

0 commit comments

Comments
 (0)