Include package defaults pyproject.toml#1710
Conversation
Include `alot/defaults/` directory containing no `*.py` files ignored by setuptools. Reported in https://codeberg.org/guix/guix/issues/5797
|
Where are you getting your wheels from? If I run git checkout master # or v0.12
python3 -m build
python3 -m zipfile --list dist/alot-0.12-py3-none-any.whl | grep defaultsI see no benefit in these changes or rather I can not reproduce the issue from guix that you linked. I tried to read the definition of the alot derivation in mail.scm but it seems to fetch the source from github via git (but I only use and know nix and not guix so I might misinterpret what I read) |
|
Let me try to reproduce it on my end, may you specify Python exact version, setuptools version and other system wide dependencies version exact, please. Hope you are aware about this one https://setuptools.pypa.io/en/latest/userguide/datafiles.html [build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta" |
|
The python version I use is from the nix flake in the alot project. Currently that is Python 3.12.10 and more precisely /nix/store/x5vzp7g27a6lkma7arvnrdg8x0xd8m8n-python3-3.12.10-env/bin/python . I interpret the docs you link to also say that the files should currently already be included.
And the directory you are missing is tracked by git: $ git ls-files alot/defaults
alot/defaults/abook_contacts.spec
alot/defaults/alot.rc.spec
alot/defaults/default.bindings
alot/defaults/default.theme
alot/defaults/theme.spec |
Include
alot/defaults/directory containing no*.pyfiles ignored by setuptools.Reported in https://codeberg.org/guix/guix/issues/5797