configurationengine/build-scripts/export_bat.py
changeset 5 d2c80f5cab53
parent 3 e7e0ae78773e
equal deleted inserted replaced
4:0951727b8815 5:d2c80f5cab53
   155     # ---------------------------
   155     # ---------------------------
   156     
   156     
   157     log.info("Copying library eggs...")
   157     log.info("Copying library eggs...")
   158     DEP_EGGS_DIR = os.path.normpath(os.path.join(ROOT_PATH, '../dep-eggs'))
   158     DEP_EGGS_DIR = os.path.normpath(os.path.join(ROOT_PATH, '../dep-eggs'))
   159     assert os.path.isdir(DEP_EGGS_DIR)
   159     assert os.path.isdir(DEP_EGGS_DIR)
   160     DEPENDENCIES = ['simplejson', 'Jinja2']
   160     DEPENDENCIES = ['simplejson']
   161     for dep in DEPENDENCIES:
   161     for dep in DEPENDENCIES:
   162         egg_file_name = find_egg_file(DEP_EGGS_DIR, dep, PYTHON_VERSION)
   162         egg_file_name = find_egg_file(DEP_EGGS_DIR, dep, PYTHON_VERSION)
   163         if egg_file_name is None:
   163         if egg_file_name is None:
   164             log.critical("Could not find egg file for dependency '%s' from '%s'" % (dep, DEP_EGGS_DIR))
   164             log.critical("Could not find egg file for dependency '%s' from '%s'" % (dep, DEP_EGGS_DIR))
   165             return 1
   165             return 1