view nt/installer/Wise/filelist.py @ 1248:9f175fcece64

[xemacs-hg @ 2003-02-02 07:31:59 by youngs] 2003-02-02 Steve Youngs <youngs@xemacs.org> * about.el (xemacs-hackers): Add Jerry, Ville, Rendhalver (about-current-release-maintainers): Remove Martin, Jason. Add Jerry, Ville, Rendhalver. (about-other-current-hackers): Add Martin, Jason. (about-personal-info): Update me. Add Jerry, Ville, Rendhalver. (about-hacker-contribution): Update me, Martin, Steve T. Add Jerry, Ville, Rendhalver.
author youngs
date Sun, 02 Feb 2003 07:32:00 +0000
parents 74fd4e045ea6
children
line wrap: on
line source

import os
import dirs
import string

def listdir_recursive(basedir):
    ret = []
    for f in os.listdir(basedir):
	if os.path.isfile(basedir+"\\"+f):
	    ret.append(f)
	elif os.path.isdir(basedir+"\\"+f):
	    for f1 in listdir_recursive(basedir+"\\"+f):
		ret.append(f+"\\"+f1)
    return ret

all = []



for f in listdir_recursive(dirs.installed):
    if string.find(f,'CVS')>=0:
        continue
    all.append((f, dirs.installed, dirs.dst))