Browse Source

[master] Add a README describing __init__.py.in

Mukund Sivaraman 11 years ago
parent
commit
807d78bb19

+ 2 - 0
src/lib/python/isc/log_messages/work/Makefile.am

@@ -8,5 +8,7 @@ pythondir = $(pyexecdir)/isc/log_messages/
 CLEANFILES = __init__.pyc __init__.pyo
 CLEANDIRS = __pycache__
 
+EXTRA_DIST = README
+
 clean-local:
 	rm -rf $(CLEANDIRS)

+ 5 - 0
src/lib/python/isc/log_messages/work/README

@@ -0,0 +1,5 @@
+The __init__.py.in in this directory is meant to be processed by
+configure so that the generated __init__.py ends up in the builddir, and
+not the srcdir. This is because Python associates a module with a
+directory, and you can't have portions of the module in two separate
+directories.