Changeset 3646:6561f3b28cb4 in orange


Ignore:
Timestamp:
05/09/07 23:38:07 (7 years ago)
Author:
cvso <cvso@…>
Branch:
default
Convert:
dc97376ab4df44a3ab50caedb1af320703b8e78f
Message:
  • skips the Prototype widgets
File:
1 edited

Legend:

Unmodified
Added
Removed
  • install-scripts/buildinstfilelist.py

    r3292 r3646  
    1010 
    1111print "Constructing file lists for Orange in '%s', prefix is '%s'" % (basedir, fileprefix) 
     12 
     13snapshot = fileprefix[:8] == "snapshot" 
     14protoDir = "orange\\orangewidgets\\prototypes\\" 
    1215 
    1316exclude = [x.lower().replace("/", "\\")[:-1] for x in open(basedir+"orange\\exclude.lst", "rt").readlines()] 
     
    2326def excluded(fname): 
    2427    fname = fname.lower() 
     28    if not snapshot and fname[:len(protoDir)] == protoDir: 
     29        print "Excluded %s (prototype)" % fname 
     30        return 1 
     31 
    2532    for ex in exclude: 
    2633        if ex==fname[:len(ex)]: 
Note: See TracChangeset for help on using the changeset viewer.