| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
|
| |
Don't assume that the 'libraries' and 'library_dirs' elements of the
build info dict are always lists.
|
| | |
|
| | |
|
| |
|
|
| |
Fixed all DistutilsFileError messages to wrap file/dir names in quotes.
|
| |
|
|
|
|
| |
* replaced build_lib.py with build_clib.py
* renamed the class in build_clib.py
* changed all references to 'build_lib' command in other command classes
|
| | |
|
| |
|
|
|
|
|
| |
when building extensions (uses build_lib's 'get_library_names()' method).
Ensure that the relative structure of source filenames is preserved in
the temporary build tree, eg. foo/bar.c compiles to
build/temp.<plat>/foo/bar.o.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Added 'build_clib' and 'build_temp' options (where to put C libraries
and where to put temporary compiler by-products, ie. object files).
Moved the call to 'check_library_list()' from 'run()' to 'finalize_options()'
-- that way, if we're going to crash we do so earlier, and we guarantee
that the library list is valid before we do anything (not just run).
Disallow directory separators in library names -- the compiled library
always goes right in 'build_clib'.
Added 'get_library_names()', so the "build_ext" command knows what
libraries to link every extension with.
|
| |
|
|
|
|
| |
filenames when constructing object filenames, even if output_dir given --
eg. "foo/bar.c" will compile to "foo/bar.o" without an output_dir, and to
"temp/foo/bar.o" if output_dir is "temp".
|
| |
|
|
| |
exists before calling the compiler/linker.
|
| |
|
|
| |
the compiler objects 'verbose' and 'dry_run' flags.
|
| |
|
|
| |
'Distribution.find_command_obj()'.
|
| |
|
|
| |
platform, using 'os.uname()' or 'sys.platform'.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 'build_dir' -> 'build_lib', which by default takes its value
straight from 'build_lib' in the 'build' command
* added 'build_temp' and 'inplace' options
* change 'build_extensions()' to put object files (compiler turds) in
'build_temp' dir
* complicated the name-of-extension-file shenanigans in
'build_extensions()' to support "in-place" extension building, i.e.
put the extension right into the source tree (handy for developers)
* added 'get_ext_fullname()', renamed 'extension_filename()' to
'get_ext_filename()', and tweaked the latter a bit -- all to support
the new filename shenanigans
|
| |
|
|
|
|
| |
* 'build_lib' -> 'build_purelib'
* new 'build_lib' and 'build_temp' options
* use 'get_platform()' to initialize 'build_platlib' and 'build_temp'
|
| | |
|
| |
|
|
| |
for "." and "..", since listdir() no longer returns those.
|
| | |
|
| |
|
|
| |
option names; errors noted by Greg Stein <gstein@lyra.org>.
|
| |
|
|
|
|
|
|
| |
This patch is re: Lucas.Dejonge@awtpl.com.au: [Python-bugs-list] imaplib -
not complying with RFC (PR#218)
Lucas de Jonge reported that the code in imaplib that detects a read-write
to read-only change doesn't comply with RFC 2060.
|
| |
|
|
|
|
|
| |
discussed on c.l.py last January. Specifically:
- more characters allowed in section & option names
- if '=' is used to separate the option & value, the value can be
followed by a comment of the form '\s;'
|
| |
|
|
| |
docstrings into comments.
|
| | |
|
| |
|
|
| |
Reported both by Gerrit Holl and Mark Favas.
|
| |
|
|
| |
Also removed some unnecessary backslases (inside parens).
|
| | |
|
| |
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
OptionMenu is modified. Somewhat rewritten and elaborated by myself.
class _setit: The constructor now takes an optional argument
`callback' and stashes this in a private variable. If set, the
__call__() method will invoke this callback after the variable's value
has changed. It will pass the callback the value, followed by any
args passed to __call__().
class OptionMenu: The constructor now takes keyword arguments, the
only one that's legally recognized is `command', which can be set to a
callback. This callback is invoked when the OptionMenu value is set.
Any other keyword argument throws a TclError.
|
| |
|
|
| |
Only the main thread should survive in the child after a fork().
|
| | |
|
| |
|
|
| |
comment. <gerrit@nl.linux.org>
|
| | |
|
| | |
|
| |
|
|
| |
Added docstrings to tkSimpleDialog.py
|
| | |
|
| |
|
|
| |
This fixes PR#211.
|
| |
|
|
|
|
|
| |
A change in my last patch could, under certain circumstances,
cause a loop if the connection to the server dropped while
waiting for a command completion. I've changed the code to
re-raise the error after possible debugging output.
|
| |
|
|
| |
slicing) using long integers
|
| |
|
|
|
|
|
|
| |
standard library. Added some comments:
# XXX Note: this is now a standard library module.
# XXX The API needs to undergo changes however; the current code is too
# XXX script-like. This will be addressed later.
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
add clsFilesystemImporter class attribute, alter handling of suffix list
convert suffix importers to funcs rather than instances
remove backwards compat code: Importer.install and 2-tuple get_code()
result values
|
| |
|
|
|
|
|
|
| |
switch to isinstance() rather than direct type comparisons
removing chaining concept
update ImportManager.install() to take an optional namespace to install
itself in. this will be useful for setting up rexec environments.
minor comment nits
|
| |
|
|
| |
'set_final_options()' to 'initialize_options()' and 'finalize_options()'.
|
| |
|
|
| |
'set_final_options()' to 'finalize_options()'.
|
| |
|
|
|
| |
Related docstring changes.
Unrelated comment changes.
|
| | |
|
| |
|
|
| |
in 'find_command_class()' method.
|
| |
|
|
|
| |
command itself: no more of this "FooBar class for foo_bar command"
silliness.
|