Changeset 4015 for DPPP


Ignore:
Timestamp:
10/06/08 13:05:31 (11 years ago)
Author:
spascoe
Message:

Allowed setting of static_files directory outside the egg.

Location:
DPPP/kml/python/csml2kmlpylon
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • DPPP/kml/python/csml2kmlpylon/csml2kmlpylon.egg-info/paste_deploy_config.ini_tmpl

    r4014 r4015  
    3535ows_server.capabilities_config = ./capabilities.conf 
    3636colourmap=cm.gist_rainbow_r 
     37 
     38# Set the following to a directory containing the pre-generated KML 
     39#static_files = %(here)s/kml 
    3740 
    3841#===================================================================== 
  • DPPP/kml/python/csml2kmlpylon/csml2kmlpylon/config/environment.py

    r3590 r4015  
    3232    # CONFIGURATION OPTIONS HERE (note: all config options will override 
    3333    # any Pylons config options) 
     34 
     35    # Set the static files path from the app config file if it is present 
     36    if 'static_files' in app_conf: 
     37        config['pylons.paths']['static_files'] = app_conf['static_files'] 
  • DPPP/kml/python/csml2kmlpylon/development.ini

    r3818 r4015  
    3333layer_config = %(here)s/csml_config/testdoc.xml 
    3434pilfont_dir = %(here)s/pilfonts 
     35 
     36# Just test setting this option works 
     37static_files=%(here)s/docs 
    3538 
    3639# If you'd like to fine-tune the individual locations of the cache data dirs 
Note: See TracChangeset for help on using the changeset viewer.