BIND 10 #1274: config_plugins installation location and python byte compilation

BIND 10 Development do-not-reply at isc.org
Tue Oct 11 17:09:47 UTC 2011


#1274: config_plugins installation location and python byte compilation
-------------------------------------+-------------------------------------
                   Reporter:  jreed  |                 Owner:  UnAssigned
                       Type:         |                Status:  reviewing
  defect                             |             Milestone:
                   Priority:  minor  |  Sprint-20111025
                  Component:         |            Resolution:
  Unclassified                       |             Sensitive:  0
                   Keywords:         |           Sub-Project:  Core
            Defect Severity:  N/A    |  Estimated Difficulty:  0
Feature Depending on Ticket:         |           Total Hours:  0
        Add Hours to Ticket:  0      |
                  Internal?:  0      |
-------------------------------------+-------------------------------------
Changes (by jreed):

 * owner:   => UnAssigned
 * status:  new => reviewing


Comment:

 I plan to commit this patch with this commit message:

 {{{

 Use python_PYTHON for the python scripts. This results in
 installing byte compiled version.

 Removed files from EXTRA_DIST as they are now in dist by default.

 Added CLEANFILES to clean up .pyc in build directory.

 Note that I am keeping the installation directory the same.

 --- a/src/bin/cfgmgr/plugins/Makefile.am
 +++ b/src/bin/cfgmgr/plugins/Makefile.am
 @@ -1,11 +1,14 @@
  SUBDIRS = tests
 -EXTRA_DIST = README tsig_keys.py tsig_keys.spec
 -EXTRA_DIST += logging.spec b10logging.py
 +
 +EXTRA_DIST = README logging.spec tsig_keys.spec

  config_plugindir = @prefix@/share/@PACKAGE@/config_plugins
 -config_plugin_DATA = tsig_keys.py tsig_keys.spec
 -config_plugin_DATA += b10logging.py logging.spec
 +config_plugin_DATA = logging.spec tsig_keys.spec
 +
 +python_PYTHON = b10logging.py tsig_keys.py
 +pythondir = $(config_plugindir)

 +CLEANFILES = b10logging.pyc tsig_keys.pyc
  CLEANDIRS = __pycache__

  clean-local:

 }}}

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


More information about the bind10-tickets mailing list