Skip to content

Commit 8ea14c8

Browse files
committed
Exclude tests from the PyPI package
1 parent 5b2ec02 commit 8ea14c8

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

MANIFEST.in

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
include LICENSE *.rst
22
graft wagtail_storages
3+
prune wagtail_storages/tests
34
global-exclude __pycache__
45
global-exclude *.py[co]

setup.cfg

+4
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ install_requires =
3333
django-storages[boto3] <2
3434
python_requires = >=3.5
3535

36+
[options.packages.find]
37+
exclude =
38+
wagtail_storages.tests*
39+
3640
[options.extras_require]
3741
testing =
3842
coverage ==5.0.3

0 commit comments

Comments
 (0)