source: trunk/essentials/dev-lang/python/Mac/Extras.install.py@ 3397

Last change on this file since 3397 was 3225, checked in by bird, 19 years ago

Python 2.5

File size: 1.6 KB
Line 
1"""Recursively copy a directory but skip undesired files and
2directories (CVS, backup files, pyc files, etc)"""
3
4import sys
5import os
6import shutil
7
8verbose = 1
9debug = 0
10
11def isclean(name):
12 if name == 'CVS': return 0
13 if name == '.cvsignore': return 0
14 if name == '.DS_store': return 0
15 if name == '.svn': return 0
16 if name.endswith('~'): return 0
17 if name.endswith('.BAK'): return 0
18 if name.endswith('.pyc'): return 0