Im running Macmilan Inc's standalone.py and im having a few difficulties finding modules it requires
Gordon McMillan
gmcm at hypernet.com
Wed Jun 27 10:40:31 EDT 2001
G. Willoughby wrote:
>Im running Macmilan Inc's standalone.py and im having a few difficulties
>finding modules it requires, any idea where these modules can be found?
>
>dos
>mac
>nt.stat
>os2
>posix
>strop.lowercase
>strop.maketrans
>strop.uppercase
>strop.whitespace
>ce
>pwd
>MACFS
>macfs
>MacOs
None of these are problems. Some are names in modules
(the strop stuff, for example), the others are
conditional imports that don't apply to your platform.
The warnings are there because it may be the only way
to trace down a missing module. If your code did
sys.path.append('funny dir')
import vitalmodule
Installer would almost certainly miss vitalmodule unless
you doctored PYTHONPATH or used the pathprefix option.
That's because your (byte)code is analyzed (not executed,
which could have too many side effects), and the
manipulation of sys.path won't be recognized.
- Gordon
More information about the Python-list
mailing list