Move check for XMLSRC to etg command instead of when the etgtools are imported.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2013-02-26 00:45:26 +00:00
parent fa3f290712
commit 3f274356d0
2 changed files with 2 additions and 1 deletions

View File

@@ -606,6 +606,8 @@ def doxhtml(options, args):
def etg(options, args):
cmdTimer = CommandTimer('etg')
cfg = Config()
assert os.path.exists(cfg.DOXY_XML_DIR), "Doxygen XML folder not found: " + cfg.DOXY_XML_DIR
pwd = pushDir(cfg.ROOT_DIR)
# TODO: Better support for selecting etg cmd-line flags...

View File

@@ -26,7 +26,6 @@ cfg = Config(noWxConfig=True)
phoenixRoot = cfg.ROOT_DIR
XMLSRC = cfg.DOXY_XML_DIR
assert os.path.exists(XMLSRC), "Unable to locate Doxygen XML files at " + XMLSRC
#---------------------------------------------------------------------------