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
Greg Ward
bbeceeaf9a
Renamed all 'options' class attributes to 'user_options'.
2000-02-18 00:25:39 +00:00
Greg Ward
1993f9ad0e
Renamed all command classes so they're exactly the same as the name of the
...
command itself: no more of this "FooBar class for foo_bar command"
silliness.
2000-02-18 00:13:53 +00:00
Greg Ward
37bc815053
Added 'description' class attribute to every command class (to help the
...
'--help-commands' option).
Shuffled imports around in a few command modules to avoid expensive
up-front import of sysconfig (and resulting delays in generating list
of all commands).
2000-01-30 18:34:15 +00:00
Greg Ward
7478a4832a
Added missing run of corresponding 'build' command.
2000-01-30 15:07:56 +00:00
Greg Ward
ef9ad6df01
Tweaked verbosity messages for byte-compilation.
1999-10-03 21:03:26 +00:00
Greg Ward
e6ac2fcc12
Renamed many options to be consistent across commands.
...
Tweaked some help strings to be consistent with documentation.
Don't call 'set_final_options()' in 'run()' anymore -- that's now
guaranteed to be taken care of for us by the Distribution instance.
1999-09-29 12:38:18 +00:00
Greg Ward
fa4eb188f4
Changed selection of installation directories (in 'set_final_options()')
...
so that pure Python modules are installed to the platform-specific
directory if there are any extension modules in this distribution.
1999-09-13 13:58:34 +00:00
Greg Ward
440e2f51ea
Patch from Perry Stoll: typo fix, make sure we only compile .py files.
1999-08-29 18:19:37 +00:00
Greg Ward
0f72695da3
Rearranged things so that compilation of .py files is the responsibility
...
of the 'install_py' command rather than 'build_py'. Obviously, this
meant that the 'build_py' and 'install_py' modules had to change; less
obviously, so did 'install' and 'build', since these higher-level
commands must make options available to control the lower-level
commands, and some compilation-related options had to migrate with the
code.
1999-05-02 21:39:13 +00:00
Greg Ward
4070f50537
Changed to use the method versions of 'copy_file()', 'copy_tree()',
...
and 'make_file()'-- that way, the verbose and dry-run flags are
handled for free.
1999-04-04 02:46:29 +00:00
Greg Ward
13ae1c8ff8
First checkin of real Distutils command modules.
1999-03-22 14:55:25 +00:00