| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
NOTE: THIS IS VERY ROUGH ALPHA CODE!
|
|
|
|
| |
option to disable this (by default, it's false and we clean up).
|
|
|
|
| |
we still have to *run* the sub-command that creates a built distribution.
|
| |
|
|
|
|
|
| |
multiple built distributions in one run -- it seemed a bit dodgy and I'd
rather remove it than try to beat it into submission right now.
|
|
|
|
| |
Added 'ztar', 'tar' to 'format_command' dictionary.
|
|
|
|
| |
eg. sunos5, linux2, irix5.
|
| |
|
|
|
|
| |
now done in the 'build_ext' command.
|
|
|
|
|
|
|
|
|
| |
* build to "Debug" or "Release" temp directory
* put linker turds (.lib and .exp files) in the build temp directory
* tack on "_d" to extensions built with debugging
* added 'get_ext_libname()' help in putting linker turds to temp dir
Also, moved the code that simplifies None to empty list for a bunch
of options to 'finalize_options()' instead of 'run()'.
|
|
|
|
| |
specific to building Python extensions.
|
| |
|
|
|
|
| |
installs Tcl/Tk.
|
|
|
|
|
|
|
|
| |
Simplified 'Command.get_peer_option()' a tad -- just call 'find_peer()'
to get the peer command object.
Updated 'Command.copy_file()' to take a 'link' parameter, just like
'util.copy_file()' does now.
Added 'Command.make_archive()' to wrap 'util.make_archive()'.
|
|
|
|
|
|
|
|
|
|
|
| |
Changes to 'copy_file()':
* added support for making hard links and symlinks
* noted that it silently clobbers existing files when copying, but
blows up if destination exists when linking -- hmmm...
* error message tweak
Added 'base_name' parameter to 'make_tarball()' and 'make_zipfile()'.
Added 'make_archive()' -- wrapper around 'make_tarball()' or
'make_zipfile()' to take care of the archive "root directory".
|
| |
|
|
|
|
|
|
| |
the command that actually creates "dumb" binary distributions, ie.
tarballs and zip files that you just unpack under <prefix> or <exec-prefix>.
Very limited, but it's a start.
|
|
|
|
|
|
|
| |
Initial revision is pretty limited; it only knows how to generate "dumb"
binary distributions, i.e. a tarball on Unix and a zip file on Windows.
Also, due to limitations in the installation code, it only knows how to
distribute Python library code. But hey, it's a start.
|
| |
|
|
|
|
|
| |
Added 'get_inputs()' (which is strikingly similar to 'get_outputs()' - sigh).
Cosmetic tweaks.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
provided by Distribution.
Cosmetic and error message tweaks.
Simplified 'make_release_tree()':
* extracted 'distutils.util.create_tree()'
* don't have to do hard-linking ourselves -- it's now handled by
'distutils.util.copy_file()' (although the detection of
whether hard linking is available still needs to be factored out)
Removed 'make_tarball()' and 'make_zipfile()' entirely -- their role
is now amply filled by 'distutils.util.make_archive()'.
Simplified 'make_distribution()':
* use Distribution's new 'get_full_name()' method
* use 'make_archive()' instead of if/elif/.../else on the archive format
|
|
|
|
| |
was a superfluous check for the platform.
|
| |
|
|
|
|
| |
add test cases for non-UserList class, tuple, & string
|
|
|
|
|
|
|
| |
If a non-tuple sequence is passed as the *arg, convert it to a tuple
before checking its length.
If named keyword arguments are used in combination with **kwargs, make
a copy of kwargs before inserting the new keys.
|
| |
|
|
|
|
| |
Win32 test case.
|
|
|
|
| |
Win32 test case
|
| |
|
|
|
|
|
| |
name is much longer, which fouls up dis's formatting slightly; this is
a "fix" for that.
|
|
|
|
|
| |
script pointed to by PYTHONPATH will be executed on startup. That
should say PYTHONSTARTUP.
|
| |
|
| |
|
|
|
|
|
| |
use global __debug__ flag to determine if compiled files will be ".pyc"
or ".pyo". Tweaked compilation output messages too.
|
|
|
|
| |
might have been copied, regardless of the 'update' flag.
|
|
|
|
| |
Made handling OSError in 'mkpath()' more standard.
|
|
|
|
| |
make 'mkdir()' return list of directories created.
|
|
|
|
|
| |
for the 'bdist_dumb' command. Adapted, with tweakage, from the 'sdist'
command.
|
|
|
|
|
| |
in preparation for the 'bdist_dumb' command; these methods remain as
trivial wrappers around the versions in distutils.util.
|
|
|
|
| |
'has_ext_modules()', 'has_c_libraries()', 'has_modules()', and 'is_pure()'.
|
| |
|
|
|
|
|
|
| |
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()'.
|
|
|
|
|
|
|
| |
in a class attribute 'sub_commands', rather than hard-coded in 'run()'.
This should make it easier to subclass 'install', and also makes it
easier to keep 'run()' and the new 'get_outputs()' consistent.
Added 'get_outputs()' in preparation for the 'bdist' command.
|
|
|
|
| |
methods of Distribution instead of grovelling directly in self.distribution.
|
|
|
|
|
|
|
| |
Changed signature of 'build_extensions()': no longer takes the extension
list, but uses 'self.extensions' (just like 'get_outputs()' has to)
Moved call to 'check_extensions_list()' from 'run()' to 'build_extensions()',
again for consistency with 'get_outputs()'.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A host of improvements in preparation for the 'bdist' command:
- added 'get_outputs()' method (all the other improvements were to support
this addition)
- made 'find_package_modules()' and 'find_modules()' return similar
values (list of (package, module, module_filename) tuples)
- factored 'find_all_modules()' out of 'get_source_files()' (needed
by 'get_outputs()')
- factored 'get_module_outfile()' out of 'build_module()' (also needed
by 'get_outputs()')
- various little tweaks, improvements, comment/doc updates
|
| |
|
| |
|