Skip to content

Commit

Permalink
Add examples/kitten.jpg to sdist (#379)
Browse files Browse the repository at this point in the history
The source tarball in PyPI contains tests but `tests/test_pictures.py`
fails because it can't find `examples/kitten.jpg`. The file isn't
contained in the tarball. This PR adds this file to the source tarball
so the tests can be run successfully.

This is relevant when packaging PyLaTeX for distros. For instance, I'm
packaging this for NixOS and the unit tests are run automatically when
distro packages are built. Running the test suite as part of the distro
package building is great and it would be nice if the tests worked
properly.
  • Loading branch information
jluttine authored Jul 23, 2024
1 parent f40c55b commit 1d3608f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ include *.md
recursive-include pylatex *.py
recursive-include python2_source/pylatex *.py
include versioneer.py
include examples/kitten.jpg

0 comments on commit 1d3608f

Please sign in to comment.