[bind10-dev] src/lib/python/isc/log_messages/work/__init__.py in tarball
JINMEI Tatuya / 神明達哉
jinmei at isc.org
Wed Feb 6 21:08:28 UTC 2013
At Wed, 6 Feb 2013 08:58:26 -0600 (CST),
"Jeremy C. Reed" <jreed at isc.org> wrote:
>
> What is purpose of src/lib/python/isc/log_messages/work/__init__.py in
> the distributed tarball?
>
> I received an off-list email about issue that the file is included but a
> "distclean" removes it. It is inconsistent. (I opened a ticket to solve
> this #2687.)
>
> Can someone explain src/lib/python/isc/log_messages/work/Makefile.am ?
I don't remember, but according to log_messages/work/Makefile.am, I
guess the intent is:
- we want to create __init__.py in builddir/.../log_messages/work
(that's why it's generated from .in even if it wouldn't have to be
so otherwise)
- we want that __init__.py be installed under something like
python3/site-packages/isc/log_messages (there's no 'work' in the
install tree). that's why it's specified in python_PYTHON
- log_messages/__init__.py isn't used for installation probably
because it's pydoc comment isn't appropriate for the installed
version.
I don't know whether there's a better way to deal with it. If not,
maybe a simplest "solution" is to use an empty __init__.py in
log_messages/ and install it instead of the one under work/ (and
remove the python_PYTHON setting).
---
JINMEI, Tatuya
More information about the bind10-dev
mailing list