Skip to content

Do not install docs nor tests directories#254

Merged
WhyNotHugo merged 1 commit intoWhyNotHugo:mainfrom
cedk:package-data
Mar 8, 2026
Merged

Do not install docs nor tests directories#254
WhyNotHugo merged 1 commit intoWhyNotHugo:mainfrom
cedk:package-data

Conversation

@cedk
Copy link
Contributor

@cedk cedk commented Dec 18, 2025

With include-package-data option, the docs and tests folders are installed in the toplevel directory of site-packages.

@audunmg
Copy link

audunmg commented Feb 21, 2026

I would really like to see this merged

(I was about to prepare a similar PR, but this is better)

@WhyNotHugo
Copy link
Owner

I tested this and the resulting package is identical to the current one, which includes the following files:

CONTRIBUTING.md
LICENCE
PKG-INFO
README.rst
barcode/
barcode/__init__.py
barcode/base.py
barcode/charsets/
barcode/charsets/__init__.py
barcode/charsets/codabar.py
barcode/charsets/code128.py
barcode/charsets/code39.py
barcode/charsets/ean.py
barcode/charsets/itf.py
barcode/charsets/upc.py
barcode/codabar.py
barcode/codex.py
barcode/ean.py
barcode/errors.py
barcode/fonts/
barcode/fonts/DejaVuSansMono.ttf
barcode/isxn.py
barcode/itf.py
barcode/pybarcode.py
barcode/upc.py
barcode/writer.py
docs/
docs/Makefile
docs/_static/
docs/_static/images/
docs/_static/images/pybarcode.png
docs/changelog.rst
docs/conf.py
docs/contents.rst
docs/getting-started.rst
docs/index.rst
docs/supported-formats.rst
docs/writers.rst
example-ean13.png
publish-release.yaml
pyproject.toml
setup.cfg
tests/
tests/__init__.py
tests/test_builds.py
tests/test_checksums.py
tests/test_ean.py
tests/test_gs1_128.py
tests/test_init.py
tests/test_manually.py
tests/test_writers.py
tox.ini

@WhyNotHugo
Copy link
Owner

Never mind, I checked this tar.gz. The whl properly excludes files.

@WhyNotHugo WhyNotHugo merged commit 5e16cba into WhyNotHugo:main Mar 8, 2026
11 of 13 checks passed
@WhyNotHugo
Copy link
Owner

Applied, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants