Mercurial > hg > xemacs-beta
annotate nt/installer/Wise/files.py @ 1410:44de306310b8
[xemacs-hg @ 2003-04-14 03:40:26 by youngs]
2003-04-14 Steve Youngs <youngs@xemacs.org>
* package-admin.el (package-admin-find-top-directory): Use
'directory-sep-char'.
(package-admin-get-install-dir): Ditto.
This is so PUI won't break on platforms that don't use '/' as the
directory separator.
* package-get.el (package-get-pgp-available-p): New.
(package-get-require-signed-base-updates): Use it.
(package-get-update-base-from-buffer): Move the code that finds
the gpg stuff into `package-get-pgp-available-p'.
Now if you have Mailcrypt and a PGP binary installed and set up on
your system, PUI will automatically default to doing PGP
verification, otherwise it'll default to off.
(package-get-require-base): Use the DATUM arg to `error'.
(package-get-locate-index-file): Ditto.
(package-get-update-base): Ditto.
(package-get-update-base-entries): Ditto.
(package-get-all): Ditto.
(package-get-dependencies): Ditto.
(package-get-info): Ditto.
(package-get): Ditto.
* package-info.el (batch-update-package-info): Use the DATUM arg
to `error'.
* package-net.el (package-net-batch-generate-bin-ini): Use the
DATUM arg to `error'.
* package-ui.el (pui-toggle-package-key): Use the DATUM arg to
`error'.
(pui-toggle-package-delete-key): Ditto.
(pui-install-selected-packages): Ditto.
(pui-add-required-packages): Ditto.
(pui-display-info): Ditto.
(list-packages-mode): Ditto.
* packages.el (package-require): Use the DATUM arg to `error'.
author | youngs |
---|---|
date | Mon, 14 Apr 2003 03:40:27 +0000 |
parents | 74fd4e045ea6 |
children |
rev | line source |
---|---|
398 | 1 import os |
2 import dirs | |
3 | |
4 def listdir_recursive(basedir): | |
5 ret = [] | |
6 for f in os.listdir(basedir): | |
7 if os.path.isfile(basedir+"\\"+f): | |
8 ret.append(f) | |
9 elif os.path.isdir(basedir+"\\"+f): | |
10 for f1 in listdir_recursive(basedir+"\\"+f): | |
11 ret.append(f+"\\"+f1) | |
12 return ret | |
13 | |
14 install = [] | |
15 | |
16 for f in os.listdir(dirs.source+"\\lib-src"): | |
17 if f == "DOC" or f[-4:]==".exe": | |
18 install.append((f,dirs.source+"\\lib-src",dirs.bin_dst)) | |
19 | |
20 | |
21 for f in ['runemacs.exe', 'xemacs.exe']: | |
22 install.append((f,dirs.source+"\\src",dirs.bin_dst)) | |
23 | |
24 for f in listdir_recursive(dirs.source+"\\lisp"): | |
25 install.append((f,dirs.source+"\\lisp",dirs.lisp_dst)) | |
26 | |
27 for f in listdir_recursive(dirs.source+"\\etc"): | |
28 install.append((f,dirs.source+"\\etc",dirs.etc_dst)) | |
29 | |
30 | |
31 for f in os.listdir(dirs.source+"\\info"): | |
32 install.append((f,dirs.source+"\\info",dirs.info_dst)) | |
33 | |
34 | |
35 | |
36 |