Closed kseistrup closed 9 months ago
This looks like a mistake on my side. I'll investigate. Alternatively: if you can submit a PR and all tests pass (I'll do some additional checks), we can fix this asap.
if you can submit a PR
I'm sorry, but I have no idea how python module packaging works.
PS: If I comment out the offending include
line in pyproject.toml
, the resultant wheel looks like expected. However, whether I comment it out or leave it as it was, a make check
fails with:
Found 18 errors in 6 files (checked 9 source files)
make: *** [Makefile:7: mypy] Error 1
edit: typo
A fixed version should be rolled out soon. Thanks @kseistrup for opening this issue!
@kseistrup can you confirm this is fixed on version 0.3.1?
Looks good, @ariebovenberg! :cartwheeling:
Disclaimer: I am probably just an incompetent python module packager.
After building a wheel, I find
CHANGELOG.rst
andREADME.rst
outside whenever's directory:The same thing happens when I install whenever from PyPI in a virtual environment:
It is consistent with
pyproject.toml
, that reads:but if every python package/wheel did that, they would [potentially] end up overwriting eachother's files.
Am I doing something wrong?
Context:
I am planning to package this for ArchLinux User Repository (AUR), and for now I am just moving the offending files to the package's individual
doc
directory, but that is not usually necessary.