| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
|
| |
now defaults to -1, not to 0. Passing an explicit zero doesn't split
or replace at all.
|
| |
|
|
| |
Marc-Andre Lemburg.
|
| |
|
|
| |
mode ('V') and in binary mode ('X').
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
'link_static_lib()'.
|
| |
|
|
|
| |
a static library (using lib.exe as found by '__init__()', hopefully through
registry entries pointing to DevStudio).
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
sure it's imported! ;)
Re-wrap the docstrings on get_python_inc() and get_python_lib() to be
closer to the "normal" Python style. See GvR's "style guide" on the
essays page (http://www.python.org/doc/essays/).
There should never be a space between a function name and the '(' that
opens the argument list (see the style guide again).
|
| |
|
|
|
|
|
|
|
| |
the platform-neutral include dir by default and with Mac support.
Added 'get_python_lib()', inspired by 'get_python_inc()'.
Rewrote 'get_config_h_filename()' and 'get_makefile_filename()'
in terms of 'get_python_inc()' and 'get_python_lib()'.
Changed '_init_nt()' and '_init_mac()' to use 'get_python_inc()' and
'get_python_lib()' for directory names.
|
| |
|
|
| |
non-char in string.
|
| |
|
|
|
| |
The (relatively) new chunk module uses seek, not setpos. One instance
of the call still needed to be fixed.
|
| |
|
|
| |
changed 'copy_file()' to use the native Mac file copy routine.
|
| | |
|
| |
|
|
| |
slashes, and put back together again using the local directory separator.
|
| |
|
|
| |
in a rather half-assed, but probably effective, way.
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
When you set a breakpoint on a function with a multi-line argument
list, the breakpoint is actually set on the second line of the
arguments instead of the first line of the body. This patch fixes
that.
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
fix imports
remove parse functions and visitor code
track name change: Classdef to Class
add some comments and tweak order of visitXXX methods
get rid of if __name__ == "__main__ section
|
| |
|
|
| |
import some useful functions from contained modules
|
| | |
|
| |
|
|
| |
that are internally converted to chars, rather than taking a string.
|
| |
|
|
|
|
|
| |
add doc string to transformer module
add two helper functions:
parse(buf) -> AST
parseFile(path) -> AST
|
| | |
|
| |
|
|
| |
simpler implementation.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
implement it (so far):
* moved filename generation methods into CCompiler base class,
driven by data supplied by implementation classes
* moved a bunch of common code from UnixCCompiler to convenience
methods in CCompiler
* overhauled MSVCCompiler's compile/link methods to look and act
as much as possible like UnixCCompiler's, in order to regularize
both interface and behaviour (especially by using those new
convenience methods)
|
| | |
|
| |
|
|
|
| |
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>.
|