BIND 10 #1101: log message .py's should be installed under site-packages/isc/

BIND 10 Development do-not-reply at isc.org
Tue Sep 20 19:11:23 UTC 2011


#1101: log message .py's should be installed under site-packages/isc/
-------------------------------------+-------------------------------------
                   Reporter:         |                 Owner:  UnAssigned
  jinmei                             |                Status:  reviewing
                       Type:         |             Milestone:
  defect                             |  Sprint-20110927
                   Priority:  major  |            Resolution:
                  Component:         |             Sensitive:  0
  logging                            |           Sub-Project:  Core
                   Keywords:         |  Estimated Difficulty:  4.0
            Defect Severity:  N/A    |           Total Hours:  0
Feature Depending on Ticket:         |
        Add Hours to Ticket:  0      |
                  Internal?:  0      |
-------------------------------------+-------------------------------------

Comment (by jinmei):

 Replying to [comment:9 jelte]:
 > yeah that is the problem i meant.

 Okay I switched to Plan B.  Instead of creating the in-source .py's
 that just forwards the import to the corresponding .py undr work/,
 I've created these .py's under the management of git.  I've also changed
 __init__.py.in to __init__.py on the srcdir (I also noticed it's not
 actually needed on builddir).

 I chose the original way because that would allow everything to reside
 in the module src directly.  Plan B requests the developer to update
 both the module and log_messages, which I wanted to avoid.  But on
 the other hand this approach is more straightforward and probably
 easier to understand.  And, of course, this solves the build problem
 you found.  So I think it's acceptable.

 Does that work for you, too, and if so you think it's okay?

 If so, I'll also update the README file.

-- 
Ticket URL: <http://bind10.isc.org/ticket/1101#comment:10>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list