GNU bug report logs -
#76211
Incomplete python-django-compressor package
Previous Next
Reported by: Evgeny Pisemsky <mail <at> pisemsky.site>
Date: Tue, 11 Feb 2025 19:13:02 UTC
Severity: normal
Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #10 received at 76211 <at> debbugs.gnu.org (full text, mbox):
Hi,
MANIFEST.in contains a list of files that are not temp files.
It's basically a poor-man's version control staging. When you invoke
"python3 setup.py sdist" (which creates a *source* distribution),
that will include all the files specified in MANIFEST.in .
As for what happens on installation (which is a different thing),
whether something is in MANIFEST.in or not shouldn't really change
anything by default (except when you set include_package_data--and
even then only in some cases).
It's interesting that for pip install, that does install templates.
What setup.py command does that use?
Which directory exactly does it put the templates in?
Are the templates and other media required for using the package as part
of a program as an end user--or only if you want to *develop* a new
package that is using python-django-compressor?
Depending on the answer to that, setup.py's include_package_data=True
could be useful. See also <https://github.com/pypa/setuptools/issues/3732>.
Alternatively, setup.py's data_files could be set. It would also be a
lot less opaque that way.
See <https://setuptools.pypa.io/en/latest/userguide/miscellaneous.html>,
especially footnote 2 there.
This bug report was last modified 3 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.