fix: include docs and examples in the sdist tarball by aucampia · Pull Request #2289 · RDFLib/rdflib (original) (raw)
Summary of changes
The sdists generated by setuptools included the docs
and examples
directories, and they are needed for building docs and running tests using the sdist.
This change includes these directories in the sdist tarball.
A test:sdist
task is also added to Taskfile.yml
which uses the sdists to run pytest and build docs.
Checklist
- Checked that there aren't other open pull requests for
the same change. - Added tests for any changes that have a runtime impact.
- Checked that all tests and type checking passes.
- Considered granting push permissions to the PR branch,
so maintainers can fix minor issues and keep your PR up to date.