Changeset 5102


Ignore:
Timestamp:
12/03/09 16:13:39 (11 years ago)
Author:
spascoe
Message:

Tests are excluded from the egg, drastically reducing it's size. If you
want to run tests checkout the code or do "easy_install -eb . cows".

Some small bug fixes exposed by the DS workshop preparation.

Location:
cows/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cows/trunk/cows/pylons/project_templates/cows_server/+package+/lib/helpers.py

    r5089 r5102  
    55""" 
    66from webhelpers import * 
    7  
    8 from pylons import __version__ as pylons_version 
    9 if pylons_version >= '0.9.7': 
    10     from webhelpers.rails import * 
     7from webhelpers.rails import * 
  • cows/trunk/cows/pylons/project_templates/cows_server/+package+/public/demo.js

    r5066 r5102  
    5454    params[dimension] = value; 
    5555    dataLayer.mergeNewParams(params); 
    56     console.log('Set Layer Dim '+dimension+', '+value); 
     56    //console.log('Set Layer Dim '+dimension+', '+value); 
    5757} 
    5858 
     
    8787        dim.innerHTML = '<b>'+d+': </b>'; 
    8888        s = dim.appendChild(document.createElement('select')); 
    89         s.onchange = function() { setLayerDim(d, s.value); }; 
     89        s._dim = d; 
     90        s.onchange = function() { 
     91            setLayerDim(this._dim, this.value); 
     92        }; 
    9093        extent = details.dimensions[d].extent; 
    9194        for (x=0; x<extent.length; x++) { 
  • cows/trunk/setup.py

    r5090 r5102  
    1212    # We only list dependencies that we are confident will easy_install without 
    1313    # a hitch here. 
    14     install_requires=['Pylons==0.9.6', 'genshi', 'numpy', 'cdat_lite', 'csml', 
     14    install_requires=['Pylons==0.9.6.1', 'genshi', 'numpy', 'cdat_lite', 'csml', 
    1515                      'matplotlib>=0.98'], 
    1616    find_links=['http://ndg.nerc.ac.uk/dist'], 
     
    2929    ], 
    3030 
    31     packages=find_packages(), 
     31    packages=find_packages(exclude=['cows.test', 'cows.test.*']), 
    3232    include_package_data=True, 
     33    exclude_package_data={'cows': ['test/*']}, 
    3334 
    3435    entry_points = """ 
Note: See TracChangeset for help on using the changeset viewer.