jorisschellekens / borb

borb is a library for reading, creating and manipulating PDF files in python.

Home Page:https://borbpdf.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tests should never end up within a wheel.

KOLANICH opened this issue · comments

Describe the bug
Tests are archived into the wheel by mistake.

To Reproduce
Steps to reproduce the behaviour:

python3 -m build wheel

Expected behaviour
No tests in the wheel.

Do you have a suggested solution?
I'm not an expert on Python packaging.
And I've been trying a few things with both MANIFEST.in and setup.py but nothing seems to work properly.

find_packages should be used with include=["borb", "borb.*"], I guess.

python3 -m build wheel

oops, should look like python3 -m build -nwx.

Thanks.