configure_build.py 1.61 KB
Newer Older
1
# -*- coding: utf-8 -*-
2
"""Configure the build process for the plugin_event
3 4 5

"""

6 7 8 9 10 11 12
# ............................................................................
#
# JAVASCRIPT LIBRARY
#     JavaScript source code and compile version
#     paths are relative to the static directory
#

13 14 15 16 17 18 19
SENCHA_CLS = [
    "plugin_event/src",
    "plugin_dbui/src",
    "plugin_extjs/packages/core/src",
    "plugin_extjs/classic/classic/src",
    "plugin_extjs/classic/classic/overrides"]

20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
SENCHA_NS = "Ext,Dbui"

JSLIBDEBUG = "plugin_event/event-debug.js"
JSLIBMIN = "plugin_event/event-min.js"

# ...........................................................................
#
# DOCUMENTATION
#     output directories for documentation
#     paths are relative to the static directory
#
DOCS_DIR = "plugin_event/docs"
JSDOC = "plugin_event/docs/jsduck"
LATEXDOC = "plugin_event/docs/latex"
PDFDOC = "plugin_event/docs/pdf"

36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
# ...........................................................................
#
# PLUGINS
#    event
#    paths are relative to the application directory
#
PLUGINS_FILES = {}

PLUGINS_FILES["default"] = [
     "controllers/plugin_%s.py",
     "models/plugin_%s.py",
     "modules/plugin_%s",
     "private/plugin_%s",
     "static/plugin_%s",
     "views/plugin_%s"]


PLUGINS_FILES["event"] = [
    "controllers/plugin_event.py",
    "modules/plugin_event",
    "views/plugin_event",
    "static/plugin_event/resources/css/event.css",
    "static/plugin_event/src",
59
    "static/plugin_event/locale/event-lang-en.js",
60 61 62
    "static/plugin_event/locale/event-lang-fr.js",
    "static/plugin_event/event-min.js",
    "static/plugin_event/docs"]