Changeset 176

Show
Ignore:
Timestamp:
08/07/08 10:07:07 (2 years ago)
Author:
timw
Message:

'py2exe

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/Delphos.py

    r137 r176  
    2424#Third-party modules 
    2525import sip 
    26 import pyExcelerator 
    2726import sqlalchemy 
    28 from pyExcelerator import * 
    2927from sqlite3 import dbapi2 as sqlite 
    3028 
  • trunk/src/core/data/default_criteria_data.py

    r167 r176  
    1 # *-* coding: utf-8 *-* 
     1# *-* coding: utf-8 *-* 
    22 
    33#=============================================================================== 
     
    161161fisheries_spanish_default_criteria = [ 
    162162    [ 
    163         u"Interés actual de la comunidad en la certificación del MSC", 
     163        u"Interés actual de la comunidad en la certificación del MSC", 
    164164        u"Ordinal", 
    165         [[u"Sí",4],[u"Sí, pero necesita más información",3],[u"No está segura",2],[u"No",1]],  
     165        [[u"Sí",4],[u"Sí, pero necesita más información",3],[u"No está segura",2],[u"No",1]],  
    166166        u"B" 
    167167    ],[ 
    168         u"Volumen de captura (toneladas/año)",  
     168        u"Volumen de captura (toneladas/año)",  
    169169        u"Ratio",  
    170         u"toneladas/año",  
     170        u"toneladas/año",  
    171171        u"B" 
    172172    ],[ 
    173        u"Número de años para los cuales hay datos disponibles sobre el esfuerzo por unidad",  
     173       u"Número de años para los cuales hay datos disponibles sobre el esfuerzo por unidad",  
    174174       u"Ratio",  
    175        u"años",  
    176        u"B" 
    177     ],[ 
    178        u"Tendencia a largo plazo de la abundancia de la población",  
     175       u"años",  
     176       u"B" 
     177    ],[ 
     178       u"Tendencia a largo plazo de la abundancia de la población",  
    179179       u"Ordinal", 
    180180       [[u"Al alza",4],[u"Estable",3],[u"Variable",2],[u"A la baja",1]],  
    181181       u"B" 
    182182    ],[ 
    183        u"Comprensión de la dinámica de la población",  
     183       u"Comprensión de la dinámica de la población",  
    184184       u"Ordinal",  
    185185       [[u"Buena",4],[u"Mediocre",3],[u"Deficiente",2],[u"Ninguna",1]],  
     
    193193       u"Captura incidental",  
    194194       u"Ordinal",  
    195        [[u"Ninguna",4],[u"Mínima",3],[u"Moderate",2],[u"Alta",1]],  
    196        u"B" 
    197     ],[ 
    198        u"Efecto de la pesquería en la cadena alimentaria",  
    199        u"Ordinal",  
    200        [[u"Ninguna",4],[u"Mínima",3],[u"Moderate",2],[u"Alta",1]],  
    201        u"B" 
    202     ],[ 
    203         u"Interacción del equipo de pesca con el ecosistema",  
     195       [[u"Ninguna",4],[u"Mínima",3],[u"Moderate",2],[u"Alta",1]],  
     196       u"B" 
     197    ],[ 
     198       u"Efecto de la pesquería en la cadena alimentaria",  
     199       u"Ordinal",  
     200       [[u"Ninguna",4],[u"Mínima",3],[u"Moderate",2],[u"Alta",1]],  
     201       u"B" 
     202    ],[ 
     203        u"Interacción del equipo de pesca con el ecosistema",  
    204204        u"Ordinal",  
    205         [[u"Ninguna",4],[u"Mínima",3],[u"Moderate",2],[u"Alta",1]],  
     205        [[u"Ninguna",4],[u"Mínima",3],[u"Moderate",2],[u"Alta",1]],  
    206206        u"B" 
    207207    ],[ 
    208         u"Interacción con las especie en peligro de extinción",  
     208        u"Interacción con las especie en peligro de extinción",  
    209209        u"Ordinal",  
    210         [[u"Ninguna",4],[u"Mínima",3],[u"Moderada",2],[u"Alta",1]],  
     210        [[u"Ninguna",4],[u"Mínima",3],[u"Moderada",2],[u"Alta",1]],  
    211211        u"B" 
    212212    ],[ 
    213        u"Percepción local del efecto que tiene la pesquería en el ecosistema",  
    214        u"Ordinal",  
    215        [[u"Sin problemas",4],[u"Desconocida",3],[u"Polémica",2],[u"Negativa",1]],  
    216        u"B" 
    217     ],[ 
    218        u"Sistema de gestión de la pesquería",  
     213       u"Percepción local del efecto que tiene la pesquería en el ecosistema",  
     214       u"Ordinal",  
     215       [[u"Sin problemas",4],[u"Desconocida",3],[u"Polémica",2],[u"Negativa",1]],  
     216       u"B" 
     217    ],[ 
     218       u"Sistema de gestión de la pesquería",  
    219219       u"Ordinal",  
    220220       [[u"Co-gerencia",3],[u"Nacional o tradicional",2],[u"Ninguna",1]],  
    221221       u"B" 
    222222    ],[ 
    223        u"Sofisticación del sistema de gestión",  
     223       u"Sofisticación del sistema de gestión",  
    224224       u"Ordinal",  
    225225       [[u"Buena",4],[u"Mediocre",3],[u"Deficiente",2],[u"Ninguna",1]],  
    226226       u"B" 
    227227       ],[ 
    228         u"Capacidad del sistema de gestión para hacer frente a las fluctuaciones ambientales y las catstrofes naturales",  
     228        u"Capacidad del sistema de gestión para hacer frente a las fluctuaciones ambientales y las catstrofes naturales",  
    229229        u"Ordinal",  
    230230       [[u"Buena",4],[u"Mediocre",3],[u"Deficiente",2],[u"Ninguna",1]],  
    231231        u"B" 
    232232    ],[ 
    233        u"Resistencia del sistema de gestión a los cambios políticos",  
     233       u"Resistencia del sistema de gestión a los cambios políticos",  
    234234       u"Ordinal",  
    235235       [[u"Buena",4],[u"Mediocre",3],[u"Deficiente",2],[u"Ninguna",1]],  
    236236       u"B" 
    237237    ],[ 
    238        u"Cumplimiento de las regulaciones internacionales para la conservación de las especies",  
     238       u"Cumplimiento de las regulaciones internacionales para la conservación de las especies",  
    239239       u"Binary",  
    240240       [[u"Las cumplen",2],[u"No las cumplen",1]],  
    241241       u"B" 
    242242    ],[ 
    243        u"Aplicación de las regulaciones de la pesquería",  
     243       u"Aplicación de las regulaciones de la pesquería",  
    244244       u"Ordinal",  
    245245       [[u"Buena",4],[u"Mediocre",3],[u"Deficiente",2],[u"Ninguna",1]],  
    246246       u"B" 
    247247    ],[ 
    248        u"Nivel de organización de los pescadores",  
     248       u"Nivel de organización de los pescadores",  
    249249       u"Ordinal",  
    250250       [[u"Buena",4],[u"Mediocre",3],[u"Deficiente",2],[u"Ninguna",1]],  
    251251       u"B" 
    252252    ],[ 
    253        u"Participación de la comunidad en la gestión de la pesquería",  
     253       u"Participación de la comunidad en la gestión de la pesquería",  
    254254       u"Ordinal",  
    255255       [[u"Buena",4],[u"Mediocre",3],[u"Deficiente",2],[u"Ninguna",1]],  
    256256       u"B" 
    257257    ],[ 
    258        u"Número de las personas implicadas en la pesquería",  
     258       u"Número de las personas implicadas en la pesquería",  
    259259       u"Ratio",  
    260260       u"personas",  
    261261       u"B" 
    262262    ],[ 
    263        u"Porcentaje de la población humana dentro de la comunidad costera que depende de la pesquería para su alimento o sustento (eg. '.10', '.75')",  
     263       u"Porcentaje de la población humana dentro de la comunidad costera que depende de la pesquería para su alimento o sustento (eg. '.10', '.75')",  
    264264       u"Ratio",  
    265        u"Porcentaje de la población",  
     265       u"Porcentaje de la población",  
    266266       u"B" 
    267267    ],[ 
     
    271271       u"B" 
    272272    ],[ 
    273        u"Nivel socioeconómico de la comunidad de la pesca",  
     273       u"Nivel socioeconómico de la comunidad de la pesca",  
    274274       u"Ordinal",  
    275275       [[u"Rico",4],[u"Promedio",3],[u"Pobre",2],[u"Extremadamente pobre",1]],  
     
    278278       u"Etapas de la cadena del mercado controlada por los pescadores",  
    279279       u"Ordinal",  
    280        [[u"Captura, procesamiento y comercialización",3],[u"Captura y procesamiento",2],[u"Captura solamente",1]],  
     280       [[u"Captura, procesamiento y comercialización",3],[u"Captura y procesamiento",2],[u"Captura solamente",1]],  
    281281       u"B" 
    282282    ],[ 
     
    297297mpa_communities_english_default_criteria = [ 
    298298    [ 
     299       "Declared interest from communities",  
     300       "Binary",  
     301       [["Yes",2],["No",1]],  
     302       "B"    
     303    ],[ 
    299304        "Defined users with legal access rights to the fishing area", 
    300305        "Ordinal", 
     
    302307        "B" 
    303308    ],[ 
     309        "High degree of community organization/cohesion", 
     310        "Ordinal", 
     311        [["Good",4],["Mediocre",3],["Poor",2],["None",1]],  
     312        "B" 
     313    ],[ 
     314        "Society attachment and insight of their environment", 
     315        "Ordinal", 
     316        [["Good",4],["Mediocre",3],["Poor",2],["None",1]],  
     317        "B" 
     318    ],[ 
    304319        "Resilience in the fishing management system regarding political change in the country's authority structure", 
    305320        "Ordinal", 
    306321        [["Good",4],["Mediocre",3],["Poor",2],["None",1]],  
    307         "B" 
    308     ],[ 
    309         "Community interest and willingness to establish a network of fully-protected marine reserves", 
    310         "Ordinal", 
    311         [["Yes",4],["Yes, but need more information",3],["Indecisive",2],["Against",1]],  
    312         "B" 
    313     ],[ 
    314         "Community involvement in fishing management", 
    315         "Ordinal", 
    316         [["Good",4],["Mediocre",3],["Poor",2],["None",1]],  
    317         "B" 
    318     ],[ 
    319        "Balance in benefit distribution of fishing exploitation",  
    320        "Binary",  
    321        [["Balanced",2],["Unbalanced",1]],  
    322        "B" 
    323     ],[ 
    324         "Fishers levels of organization", 
    325         "Ordinal", 
    326         [["High",3],["Medium",2],["Low",1]],  
    327         "B" 
    328     ],[ 
    329         "Number of fishers working in the fishing area",  
    330         "Ratio",  
    331        ["# of fishers"],  
    332         "C" 
    333     ],[ 
    334         "Community's investment capacity in fully-protected marine reserves", 
    335         "Ordinal", 
    336         [["High",3],["Average",2],["Low",1]],  
    337         "B" 
    338     ],[ 
    339         "Level of ecosystem's scientific knowledge", 
    340         "Ordinal", 
    341         [["High",3],["Medium",2],["Low",1]],  
    342         "B" 
    343     ],[ 
    344         "Coastal Development", 
    345         "Ordinal", 
    346         [["Underdeveloped",4],["Developing",3],["Developed",2],["Highly Industrialized and Developed",1]],  
    347         "C" 
    348     ],[ 
    349         "Area being considered for establishing a network of community reserves (sq.km OR km of coastline)",  
    350         "Ratio",  
    351        ["sq.km or km of coastline"],  
    352         "B" 
    353     ],[ 
    354         "Connectivity of the possible network of the fully-protected community marine reserves in a regional system of fully-protected marine reserves", 
    355         "Ordinal", 
    356         [["Appropriate",4],["Moderately Appropriate",3],["Hardly Relevant",2],["Isolated",1]],  
    357         "B" 
    358     ],[ 
    359         "Number of essential habitats for highly migratory species (# of habitats)",  
    360         "Ratio",  
    361        ["# of habitats"],  
    362         "B" 
    363     ],[ 
    364         "Representation of different habitats in the biogeographic region (# of habitats)",  
    365         "Ratio",  
    366        ["# of habitats"],  
    367         "B" 
    368     ],[ 
    369        "Opportunity to connect (by being adjacent) this marine area with a terrestrial protected area",  
    370        "Binary",  
    371        [["Present",2],["Absent",1]],  
    372        "B" 
    373     ],[ 
    374        "Is a zone part of a high priority conservation site according to another national or international project?",  
    375        "Binary",  
    376        [["Yes",2],["No",1]],  
    377        "B" 
    378     ],[ 
    379         "Number of species included in national or international lists under any special protection category (# of species)",  
    380         "Ratio",  
    381        ["# of species"],  
    382         "B" 
    383     ],[ 
    384         "Number of species subject to fishing exploitation (# of species)",  
    385         "Ratio",  
    386        ["# of species"],  
    387         "B" 
    388     ],[ 
    389         "Zone's vulnerability to natural disasters", 
    390         "Ordinal", 
    391         [["None",3],["Medium",2],["High",1]],  
    392         "C" 
    393     ],[ 
    394        "Does UNESCO consider the zone a Human Heritage Site?",  
    395        "Binary",  
    396        [["Yes",2],["No",1]],  
    397        "B" 
    398     ],[ 
    399        "Is the zone considered part of a culturally significant national category?", 
    400        "Binary",   
    401        [["Yes",2],["No",1]],  
    402        "B" 
    403     ],[ 
    404        "Is there a native culture with a limited territorial representation living in this zone or using it as priority for fishing or extracting natural resources?", 
    405        "Binary",   
    406        [["Yes",2],["No",1]],  
    407        "B" 
    408     ],[ 
    409        "Is the fishing culture for this zone part of any maritime culture with a limited geographic representation?", 
    410        "Binary",   
    411        [["Yes",2],["No",1]],  
    412        "B" 
    413     ],[ 
    414        "Are there sites with archaeological value in the zone?", 
    415        "Binary",  
    416        [["Yes",2],["No",1]],  
    417        "B" 
    418     ],[ 
    419        "Does this zone have an exceptional aesthetic value?", 
    420        "Binary",  
    421        [["Yes",2],["No",1]],  
    422        "B" 
    423     ],[ 
    424        "Does this zone have an exceptional educational value?", 
    425        "Binary",  
    426        [["Yes",2],["No",1]],  
    427        "B" 
    428     ] 
    429 ] 
    430  
    431 mpa_communities_english_default_criteria = [ 
    432     [ 
    433         "Defined users with legal access rights to the fishing area", 
    434         "Ordinal", 
    435         [["Strong",4],["Mediocre",3],["Poor",2],["Open Access Resources",1]],  
    436         "B" 
    437     ],[ 
    438         "Resilience in the fishing management system regarding political change in the country's authority structure", 
    439         "Ordinal", 
    440         [["Good",4],["Mediocre",3],["Poor",2],["None",1]],  
    441         "B" 
    442     ],[ 
    443         "Community interest and willingness to establish a network of fully-protected marine reserves", 
    444         "Ordinal", 
    445         [["Yes",4],["Yes, but need more information",3],["Indecisive",2],["Against",1]],  
    446322        "B" 
    447323    ],[ 
     
    581457        "B" 
    582458    ],[ 
    583         "Number of species included in national or international listings under a special protection category",  
     459        "Number of key species",  
    584460        "Ratio",  
    585461        ["# of species"],  
    586462        "B" 
    587463    ],[ 
    588         "Density or abundance of each species included in national or international listings under a special protection category (A) (actual value)",  
    589         "Ratio",  
    590         ["density/abundance"],  
    591         "B" 
    592     ],[ 
    593         "Density or abundance of each species included in national or international listings under a special protection category (B)", 
     464        "Representation of each important habitat within the whole study area",  
     465        "Ordinal", 
     466        [["High: 80-100%",4],["Medium: 50-79%",3],["Low: <50%",2],["None",1]],  
     467        "B" 
     468    ],[ 
     469        "Number of depth ranges",  
     470        "Ratio",  
     471        ["# of ranges"],  
     472        "B" 
     473    ],[ 
     474        "Potential for dispersal of larva to other networks",  
    594475        "Ordinal", 
    595476        [["High",4],["Medium",3],["Low",2],["None",1]],  
    596477        "B" 
    597478    ],[ 
    598         "Number of key species",  
    599         "Ratio",  
    600         ["# of species"],  
    601         "B" 
    602     ],[ 
    603         "Density or abundance of each key species (A) (actual value)",  
    604         "Ratio",  
    605         ["density/abundance"],  
    606         "B" 
    607     ],[ 
    608         "Density or abundance of each key species (B)", 
     479        "Potential for retention of larva within the network",  
    609480        "Ordinal", 
    610481        [["High",4],["Medium",3],["Low",2],["None",1]],  
    611482        "B" 
    612483    ],[ 
    613         "Density or abundance of each species subject to fishing exploitation (A) (actual value)",  
    614         "Ratio",  
    615         ["density/abundance"],  
    616         "B" 
    617     ],[ 
    618         "Density or abundance of each species subject to fishing exploitation (B)",  
     484        "Potential to enhance fishing productivity outside the network",  
    619485        "Ordinal", 
    620486        [["High",4],["Medium",3],["Low",2],["None",1]],  
    621487        "B" 
    622488    ],[ 
    623         "Percentage of fishing production extracted by the community from each site with respect to total production (eg. 0, 28, 100)",  
     489        u"Resilience to natural disasters or climatic changes (i.e. El Niño) ",  
     490        "Ordinal", 
     491        [["High",4],["Medium",3],["Low",2],["None",1]],  
     492        "B" 
     493    ],[ 
     494        "Total area represented by the network",  
     495        "Ratio",  
     496        ["sq.mi"], 
     497        "B" 
     498    ],[ 
     499        "Feasibility to conduct assessments",  
     500        "Ordinal", 
     501        [["High",4],["Medium",3],["Low",2],["None",1]],  
     502        "B" 
     503    ],[ 
     504        "Percentage of community's revenue that comes from the network",  
    624505        "Ratio",  
    625506        ["percentage"],  
    626         "B" 
    627     ],[ 
    628         "Number of critical environments (substrates) at the site",  
    629         "Ratio",  
    630         ["# of environments"],  
    631         "B" 
    632     ],[ 
    633         "Cover (density) of each environment within every site (A) (percentage)",  
    634         "Ratio",  
    635         ["percentage"],  
    636         "B" 
    637     ],[ 
    638         "Cover (density) of each environment within every site (B)",  
    639         "Ordinal", 
    640         [["High: 80-100%",4],["Medium: 50-79%",3],["Low: <50%",2],["None",1]],  
    641         "B" 
    642     ],[ 
    643         "Size of every environment within each site (A) (area, eg. sq.mi)",  
    644         "Ratio",  
    645         ["area"],  
    646         "B" 
    647     ],[ 
    648         "Size of every environment within each site (B)",  
    649         "Ordinal", 
    650         [["High",4],["Medium",3],["Low",2],["None",1]],  
    651         "B" 
    652     ],[ 
    653         "Number of depth ranges",  
    654         "Ratio",  
    655         ["# of ranges"],  
    656         "B" 
    657     ],[ 
    658         "Number of sites within every critical environment selected",  
    659         "Ratio",  
    660         ["# of sites"],  
    661         "B" 
    662     ],[ 
    663         "Presence of currents for larval diffusion",  
    664         "Ordinal", 
    665         [["High",4],["Medium",3],["Low",2],["None",1]],  
    666         "B" 
    667     ],[ 
    668         "Presence of currents for larval retention",  
    669         "Ordinal", 
    670         [["High",4],["Medium",3],["Low",2],["None",1]],  
    671         "B" 
    672     ],[ 
    673         u"Resilience to natural disasters or climatic changes (i.e. El Niño) ",  
    674         "Ordinal", 
    675         [["High",4],["Medium",3],["Low",2],["None",1]],  
    676         "B" 
    677     ],[ 
    678         "Total area per each site (eg. sq.mi)",  
    679         "Ratio",  
    680         ["area sq.mi"], 
    681         "B" 
    682     ],[ 
    683         "Percentage of area proposed as reserve, with respect to the total fishing area (eg. 13, 40, 100)",  
    684         "Ratio",  
    685         ["% of area"], 
    686         "B" 
    687     ],[ 
    688         "Distance from the nearest reserve (miles, km)",  
    689         "Ratio",  
    690         ["miles/km"], 
    691         "B" 
    692     ],[ 
    693         "Number of critical environments included in each site",  
    694         "Ratio",  
    695         ["# of environments"], 
    696         "B" 
    697     ],[ 
    698         "Number of critical environments considered within different potential networks of marine reserves",  
    699         "Ratio",  
    700         ["# of environments"], 
    701         "B" 
    702     ],[ 
    703         "Cover (density) of each critical environment within each site (A) (area, eg. sq.mi)",  
    704         "Ratio",  
    705         ["area"],  
    706         "B" 
    707     ],[ 
    708         "Cover (density) of each critical environment within each site (B)",  
    709         "Ordinal", 
    710         [["High: 80-100%",4],["Medium: 50-79%",3],["Low: <50%",2],["None",1]],  
    711         "B" 
    712     ],[ 
    713         "Feasibility to conduct assessments",  
    714         "Ordinal", 
    715         [["High",4],["Medium",3],["Low",2],["None",1]],  
    716507        "C" 
    717508    ],[ 
    718         "Currents to conduct assessments (A)",  
    719         "Ordinal", 
    720         [["High: always present",1],["Medium: 50% of time",2],["Low: 25% of time",3],["None",4]],  
    721         "C" 
    722     ],[ 
    723        "Currents to conduct assessments (B) (presence or absence)", 
    724        "Binary",   
    725        [["Yes",1],["No",2]],  
    726        "C" 
    727     ],[ 
    728        "Currents to conduct assessments (C) (speed)", 
    729         "Ratio",  
    730         ["speed"],  
    731         "C" 
    732     ],[ 
    733        "Depth to conduct assessments (maximum depth)", 
    734         "Ratio",  
    735         ["depth"],  
    736         "C" 
    737     ],[ 
    738         "Visibility to conduct assessments (A)",  
    739         "Ordinal", 
    740         [["High: always adequate",4],["Medium: adequate 50% of time",3],["Low: adequate 25% of time",2],["Visibility not adequate",1]],  
    741         "B" 
    742     ],[ 
    743        "Visibility to conduct assessments (B) (presence or absence)", 
    744        "Binary",   
    745        [["Yes",2],["No",1]],  
    746        "B" 
    747     ],[ 
    748        "Visibility to conduct assessments (C) (average visibility value eg. sq.mi)", 
    749         "Ratio",  
    750         ["speed"],  
    751         "B" 
    752     ],[ 
    753         "Effect from exposure to swell when conducting assessments",  
    754         "Ordinal", 
    755         [["High: completely exposed",1],["Medium: moderately exposed",2],["Low: little exposed",3],["None: not exposed",4]],  
    756         "C" 
    757     ],[ 
    758         "Effect of wind when conducting assessments",  
    759         "Ordinal", 
    760         [["High: always exposed",1],["Medium: exposed half of time",2],["Low: exposed on few occasions",3],["None: not exposed",4]],  
    761         "C" 
    762     ],[ 
    763        "Abundance of fragile environments (corals, algae, among others) to conduct assessments", 
    764         "Ratio",  
    765         ["abundance"],  
    766         "C" 
    767     ],[ 
    768        "Total value of product extracted from each site (A) (monetary value)", 
    769         "Ratio",  
    770         ["monetary unit"],  
    771         "C" 
    772     ],[ 
    773         "Total value of product extracted from each site (B)",  
     509        "Recreational fishing value of the network",  
    774510        "Ordinal", 
    775511        [["High",1],["Medium",2],["Low",3],["None",4]], 
    776512        "C" 
    777513    ],[ 
    778        "Recreational value of each site (A) (monetary value)", 
    779         "Ratio",  
    780         ["monetary unit"],  
    781         "C" 
    782     ],[ 
    783         "Recreational value of each site (B)",  
     514        "Commercial fishing value of the network",  
    784515        "Ordinal", 
    785516        [["High",1],["Medium",2],["Low",3],["None",4]], 
    786517        "C" 
    787518    ],[ 
    788         "Acceptance by fishers outside the community",  
    789         "Ordinal", 
    790         [["High",4],["Medium",3],["Low",2],["None",1]], 
    791         "B" 
    792     ],[ 
    793         "Illegal Fishing",  
    794         "Ordinal", 
    795         [["Constant",4],["Moderate",3],["Little",2],["None",1]], 
    796         "C" 
     519        "Potential value of ecotourism of the network",  
     520        "Ordinal", 
     521        [["High",1],["Medium",2],["Low",3],["None",4]], 
     522        "B" 
    797523    ],[ 
    798524        "Surveillance (management) feasibility",  
    799         "Ordinal", 
    800         [["High",4],["Medium",3],["Low",2],["None",1]], 
    801         "B" 
    802     ],[ 
    803         "Robustness to develop the scientific experiment",  
    804525        "Ordinal", 
    805526        [["High",4],["Medium",3],["Low",2],["None",1]], 
     
    808529] 
    809530 
     531 
     532 
    810533mpa_sites_spanish_default_criteria = None 
     534 
     535 
    811536 
    812537#Taken from original version of Delphos for windows.  Deprecated 
  • trunk/src/gui/McaMplCanvas.py

    r175 r176  
    9191        #X-axis should have no ticks 
    9292        self.axes.xaxis.set_major_locator(NullLocator()) 
    93         #self.axes.legend(p1, altern_names, 'best', pad=0.1, prop=FontProperties(size='small')) 
     93        self.axes.legend(p1, altern_names, 'best', pad=0.1, prop=FontProperties(size='small')) 
    9494#       self.axes.set_title ('MCA Results', va='top') 
  • trunk/src/win_inno_setup.py

    r161 r176  
    3434                 windows_exe_files = [], 
    3535                 lib_files = [], 
    36                  version = "0.3"): 
     36                 version = ""): 
    3737        self.lib_dir = lib_dir 
    3838        self.dist_dir = dist_dir 
     
    5959        print >> ofi, r"DefaultGroupName=%s" % self.name 
    6060        print >> ofi, r"VersionInfoVersion=%s" % self.version 
    61         print >> ofi, r"VersionInfoCompany=Ecotrust
     61        print >> ofi, r"VersionInfoCompany=Ecotrust/COBI/WWF
    6262        print >> ofi, r"VersionInfoDescription=Delphos" 
    6363        print >> ofi, r"VersionInfoCopyright=Ecotrust" 
     
    134134         
    135135        # create the Installer, using the files py2exe has created. 
    136         script = InnoScript("Delphos 0.3", 
     136        script = InnoScript("Delphos 0.4", 
    137137                            lib_dir, 
    138138                            dist_dir, 
     
    153153        "compressed": 1, 
    154154        "optimize": 2, 
    155         "includes": ['sip','matplotlib.numerix.random_array', 'matplotlib.backends.backend_tkagg', 'sqlalchemy.databases.sqlite'], 
     155        "includes": ['sip', 'PyQt4', 'matplotlib.numerix.random_array', 'matplotlib.backends.backend_tkagg', 'sqlalchemy.databases.sqlite'], 
    156156        "excludes": ['backend_gtkagg', 'backend_wxagg'], 
    157157        "dll_excludes": ['libgdk_pixbuf-2.0-0.dll', 'libgobject-2.0-0.dll', 'libgdk-win32-2.0-0.dll'], 
    158         "packages": ["sqlalchemy", "pyExcelerator", "matplotlib", "pytz", "PyQt4._qt"], 
     158        "packages": ["sqlalchemy", "matplotlib", "pytz", "PyQt4"], 
    159159        "dist_dir": "dist", 
    160160    } 
  • trunk/src/winsetup.py

    r138 r176  
    2929                "excludes": ['backend_gtkagg', 'backend_wxagg'], 
    3030                "dll_excludes": ['libgdk_pixbuf-2.0-0.dll', 'libgobject-2.0-0.dll', 'libgdk-win32-2.0-0.dll'], 
    31                 "packages": ["sqlalchemy", "pyExcelerator", "matplotlib", "pytz", "PyQt4._qt"], 
     31                "packages": ["sqlalchemy", "matplotlib", "pytz", "PyQt4._qt"], 
    3232                "dist_dir": "bin", 
    3333        }