Mercurial > cpython-lru_cache-weakref
comparison Mac/scripts/ConfigurePython.py @ 17004:b7b048da1673 legacy-trunk
macostools.copy() now has an optional forcetype flag, which sets the filetype. This is used by various tools to set the type to APPL when copying interpreter template files (Atmp filetype).
| author | Jack Jansen <jack.jansen@cwi.nl> |
|---|---|
| date | Tue, 06 Mar 2001 22:46:25 +0000 |
| parents | 5902b5794a17 |
| children | 6bdf563c763b |
comparison
equal
deleted
inserted
replaced
| 17003:534a93d82edc | 17004:b7b048da1673 |
|---|---|
| 100 def buildcopy(top, dummy, list): | 100 def buildcopy(top, dummy, list): |
| 101 import macostools | 101 import macostools |
| 102 for src, dst in list: | 102 for src, dst in list: |
| 103 src = os.path.join(top, src) | 103 src = os.path.join(top, src) |
| 104 dst = os.path.join(top, dst) | 104 dst = os.path.join(top, dst) |
| 105 macostools.copy(src, dst) | 105 macostools.copy(src, dst, forcetype="APPL") |
| 106 | 106 |
| 107 def main(): | 107 def main(): |
| 108 verbose = 0 | 108 verbose = 0 |
| 109 try: | 109 try: |
| 110 h = Res.GetResource('DLOG', SPLASH_COPYCORE) | 110 h = Res.GetResource('DLOG', SPLASH_COPYCORE) |
