setup.py: list files under `static` as `data_files`
Hello,
I think that all files underneath subdirectory static
should be listed as data_files
in setup.py
.
According to the Filesystem Hierarchy Standard, files under static
should not be installed underneath dist-packages
. In the Debian package, we currently manually move the files from usr/lib/python3/dist-packages/postorius/static
to usr/share/python3-django-postorius/static
and symlink the latter to the former. If the files were listed as data_files
, the Debian helper script dh_python3
could handle this automatically.