]> granicus.if.org Git - python/commit
Added the ability to do byte-compilation at build time, currently off
authorGreg Ward <gward@python.net>
Mon, 2 Oct 2000 02:19:04 +0000 (02:19 +0000)
committerGreg Ward <gward@python.net>
Mon, 2 Oct 2000 02:19:04 +0000 (02:19 +0000)
commit73a6c942cda33c0b6c97a10b7ef5664e043f987f
treec244896f5cb47142ec3bd331e1d9940b541c61a1
parent8161022d4d880ab03cc90d3d46b32d7991ff742c
Added the ability to do byte-compilation at build time, currently off
by default (since compiling at install time works just fine).  Details:
  - added 'compile' and 'optimize' options
  - added 'byte_compile()' method
  - changed 'get_outputs()' so it includes bytecode files
A lot of the code added is very similar to code in install_lib.py;
would be nice to factor it out further.
Lib/distutils/command/build_py.py