anna-money / asyncpg-listen

A thing to simplify listening for PG notifications with asyncpg
MIT License
37 stars 2 forks source link

Ensure CHANGELOG, tests available in source distributions #192

Closed bollwyvl closed 2 months ago

bollwyvl commented 1 year ago

Thanks for this tool!

This PR ensures the CHANGELOG.md is available in source distributions, as otherwise an install fails with e.g.

  FileNotFoundError: [Errno 2] No such file or directory: 'CHANGELOG.md'

While in there, I've also added the tests folder: this helps downstreams run the tests of as-installed packages from the canonical distributions without having to pull the upstream source repository snapshot.

Motivation: I'm looking to re-package for the conda-forge packaging system. These changes aren't holding anything up there, and once it all works, new releases should be tracker more-or-less automatically on a dedicated repo (e.g. https://github.com/conda-forge/asyncpg-listen-feedstock).

Thanks again!