python - Why is the compileall module not working? -
i'm testing compiling python code, when run compileall module on directory test file in it, skips directory , goes , compiles standard library reason. why doing this?
you're running python -m compileall without specifying directory, , module doing exactly documentation says should: compiling every directory in sys.path.
to compile directory you're in, pass on command line:
$ python -m compileall .
Comments
Post a Comment