Greg Ward
25a309c0a9
Remove some debugging prints.
2000-10-03 03:32:37 +00:00
Greg Ward
0295181fa6
Typo fix.
2000-10-02 02:25:51 +00:00
Greg Ward
cb9c9aed01
Finished the overhaul of byte-compilation options: there's now a 6-way
...
choice between (compile, no-compile) * (optimize=0, optimize=1,
optimize=2). Details:
- added --no-compile option to complement --compile, which has
been there for ages
- changed --optimize (which never worked) to a value option, which
expects 0, 1, or 2
- renamed 'bytecompile()' method to 'byte_compile()', and beefed
it up to handle both 'compile' and 'optimize' options
- fix '_bytecode_filenames()' to respect the new options
2000-10-02 02:15:08 +00:00
Greg Ward
c1acc69018
From 'run()', only call 'bytecompile()' if we actually have
...
pure Python modules to compile.
2000-10-01 23:50:13 +00:00
Greg Ward
1df6e7b1fc
Reduced the 'bytecompile()' method to a one-line wrapper around
...
'util.byte_compile()'. Currently just reproduces the existing functionality
-- doesn't use any of the fancy features in the new 'byte_compile()'.
2000-09-30 20:39:09 +00:00
Greg Ward
3e6d43801b
Fixed 'run()' so it doesn't call 'bytecompile()' if 'install()' returned None.
2000-09-30 17:35:26 +00:00
Greg Ward
99b032eaf2
Added 'boolean_options' list to support config file parsing.
2000-09-25 01:41:15 +00:00
Greg Ward
f84fb660cb
Split 'run()' up into 'build()', 'install()', and 'bytecompile()' (for
...
easier extensibility).
2000-09-23 01:20:19 +00:00
Greg Ward
7b87c0e1bb
Whitespace tweaks.
2000-09-23 01:10:10 +00:00
Greg Ward
3a0310a328
Added --force (-f) option to force installation (including bytecode
...
compilation).
2000-09-13 01:02:25 +00:00
Greg Ward
ab3a0f36ed
Fixed imports from '*util' modules to not just import everything from util.
2000-08-05 01:31:54 +00:00
Greg Ward
90c74cc4da
Rene Liebscher: fix 'skipping byte-compilation' message for grammatical
...
consistency.
2000-08-02 01:34:18 +00:00
Greg Ward
4fb29e55f8
Some far-reaching naming changes:
...
* Command method 'find_peer()' -> 'get_finalized_command()'
* Command method 'run_peer()' -> 'run_command()'
Also deleted the 'get_command_option()' method from Command, and
fixed the one place where it was used (in "bdist_dumb").
2000-05-27 17:27:23 +00:00
Greg Ward
d7ad5039cb
Fixed command description.
2000-05-23 01:55:16 +00:00
Greg Ward
f355d473fa
Check if the claimed build directory doesn't exist, and warn that we don't
...
have any Python modules to install (rather than bomb when we try to copy
a non-existent directory).
2000-05-20 15:08:57 +00:00
Gregory P. Smith
11fb783fa4
Added '_bytecode_filenames()' method, and use it in 'get_outputs()'
...
to ensure that compiled bytecode files are considered part of the output
of the "install_lib" command.
2000-05-13 02:11:10 +00:00
Gregory P. Smith
74ead8ff5d
Added --skip-build option, so lazy debuggers/testers (mainly me) don't
...
have to wade through all the 'build' output when testing installation.
2000-05-12 01:46:47 +00:00
Greg Ward
4779cdfae8
Don't use 'set_option()' or 'get_option()' method -- direct attribute access,
...
or getattr/setattr, is all that's needed.
2000-05-07 15:32:13 +00:00
Greg Ward
1aab6e9645
Added 'get_inputs()'.
2000-03-31 02:53:07 +00:00
Greg Ward
ed8a0e0f21
Patch inspired by Bastian Kleineidam <calvin@cs.uni-sb.de>:
...
use global __debug__ flag to determine if compiled files will be ".pyc"
or ".pyo". Tweaked compilation output messages too.
2000-03-29 03:29:34 +00:00
Greg Ward
e5dfba5e0f
Be sure to run both 'build_py' and 'build_ext', now that this command
...
is responsible for installing all Python modules (pure and extensions).
Added 'get_outputs()' in preparation for the 'bdist' command, and
'_mutate_outputs()' to support 'get_outputs()'.
2000-03-29 02:17:42 +00:00
Greg Ward
297dd9fed5
Fixed the class name.
2000-03-23 04:37:11 +00:00
Greg Ward
3ce77fd05e
Changed '__rcsid__' to '__revision__'.
2000-03-02 01:49:45 +00:00
Greg Ward
4f08e4facb
Unfinished, untested implementation of the lovely baroque installation scheme
...
cooked up by Fred Drake and me. Only saved for posterity (whoever posterity
is), as it is about to be ditched in favour of GvR's much simpler design.
2000-02-26 00:49:04 +00:00
Greg Ward
e01149cbe8
Renamed 'set_default_options()' to 'initialize_options()', and
...
'set_final_options()' to 'finalize_options()'.
2000-02-18 00:35:22 +00:00