Skip to content

Commit 74eb751

Browse files
authored
Merge pull request #388 from jstockwin/remove-tests-from-wheels
Remove tests and docs from wheels
2 parents b09de64 + f633856 commit 74eb751

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

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

99
### Added
1010
- Added extra filtering methods for ElementList
11+
- Make sure tests and docs are not included in binary distribution wheels (PyPi) and source distribution (sdist).
1112

1213
## [0.12.0] - 2023-11-10
1314

MANIFEST.in

+4
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
include README.md
22
include LICENSE
3+
prune tests
4+
prune tests/*
5+
prune docs
6+
prune docs/*

setup.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414

1515
setup(
1616
name="py-pdf-parser",
17-
packages=find_packages(),
18-
exclude=["tests.*", "tests", "docs", "docs.*"],
17+
packages=find_packages(exclude=["tests", "tests.*", "docs", "docs.*"]),
1918
version="0.12.0",
2019
url="https://github.com/jstockwin/py-pdf-parser",
2120
license="BSD",

0 commit comments

Comments
 (0)