| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
An extensible library for opening URLs using a variety protocols.
Intended as a replacement for urllib.
|
|
|
|
|
|
| |
isinstance(x, types.CodeType).
Suggested by Finn Bock.
|
| |
|
|
|
|
| |
Tweaked error messages in '_spawn_posix()'.
|
| |
|
|
|
|
| |
RT library.
|
|
|
|
| |
Fixed 'make_release_tree()' to copy files if 'os.link()' doesn't exist.
|
|
|
|
|
| |
command wasn't found or failed. (Code supplied by Thomas Heller
<thomas.heller@ion-tof.com>.)
|
| |
|
|
|
|
| |
before storing or using.
|
| |
|
|
|
|
| |
ParsedDate didn't have the correct day of week.
|
|
|
|
| |
the 'missing' parameter.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added 'link_static_lib()' method, and 'archiver' and 'archiver_options'
class attributes to support it.
Added 'link_executable()' method, and 'ld_exec' instance attribute
to support it.
'newer_group()' is now able to handle missing files, so we don't have
to kludge it by catching OSError when calling it.
'object_filenames()' and 'shared_object_filename()' now take 'keep_dir'
flag parameters.
'library_filename()' and 'shared_library_filename()' now respect
a directory component in the library name.
Various comment updates/deletions.
|
|
|
|
| |
Added 'link_executable()' signature.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Holl <gerrit.holl@pobox.com>.
|
|
|
|
|
|
|
|
|
| |
This patch changes the string-based exceptions to class-based
exceptions, so that you can fetch the unknown option as an
attribute. As far as I know, it is backward compatible.
[The new exception class is called GetoptError; the name error is an
alias for compatibility.]
|
| |
|
| |
|
|
|
|
| |
are, we must keep the file around so we can print the body.
|
|
|
|
|
|
|
| |
I've changed the login command to force proper
quoting of the password argument. I've also added
some extra debugging code, which is removed when
__debug__ is false.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Added 'nuke_release_tree()' method to blow away the directory from
which the archive file(s) are created, and call it (conditionally)
from 'make_distribution()'.
Added 'keep_tree' option (false by default) to disable the call to
'nuke_release_tree()'.
|
|
|
|
|
|
|
|
| |
install) the setup script itself.
Fixed 'build_module()' so we do *not* preserve file mode (which means
we can install read-only files, which makes the next installation
of this distribution fail -- at least under Unix); added a comment
explaining this.
|
|
|
|
|
| |
call CCompiler method 'compile()' with 'include_dirs' not 'includes'.
Fixed stupid typo in 'get_source_files()'.
|
|
|
|
|
|
| |
consistency with 'build_ext' command option.
Changed 'compile()' and 'link_shared_object()' so 'include_dirs',
'libraries', and 'library_dirs' can be lists or tuples.
|
|
|
|
|
|
|
|
| |
'generate_help()', 'wrap_text()' functions, and a little tiny test
of 'wrap_text()'.
Changed how caller states that one option is the boolean opposite of
another: added 'negative_opt' parameter to 'fancy_getopt()', and changed
to use it instead of parsing long option name.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
want no output. Still no option for a happy medium though.
Added "--help" global option.
Changed 'parse_command_line()' to recognize help options (both for the
whole distribution and per-command), and to distinguish "regular run"
and "user asked for help" by returning false in the latter case.
Also in 'parse_command_line()', detect invalid command name on command
line by catching DistutilsModuleError.
a 'negative_opt' class attribute right after 'global_options'; changed
how we call 'fancy_getopt()' accordingly.
Initialize 'maintainer' and 'maintainer_email' attributes to Distribution
to avoid AttributeError when 'author' and 'author_email' not defined.
Initialize 'help' attribute in Command constructor (to avoid
AttributeError when user *doesn't* ask for help).
In 'setup()':
* show usage message before dying when we catch DistutilsArgError
* only run commands if 'parse_command_line()' returned true (that
way, we exit immediately when a help option is found)
* catch KeyboardInterrupt and IOError from running commands
Bulked up usage message to show --help options.
Comment, docstring, and error message tweaks.
|
|
|
|
|
|
| |
Brian E Gallew, which were improved and adapted to OpenSSL 0.9.4 by
Laszlo Kovacs of HP. Both have kindly given permission to include
the patches in the Python distribution. Final formatting by GvR.
|
|
|
|
| |
uses the BSD version of the lock structure. Sigh, @!%$.
|
|
|
|
|
|
|
|
| |
Bunch of little bug fixes that appeared in building non-packagized
distributions. Mainly:
- brain-slip typo in 'get_package_dir()'
- don't try to os.path.join() an empty path tuple -- it doesn't like it
- more type-safety in 'build_module()'
|
|
|
|
|
| |
(and even when it fails). This avoids the problem where a trailing
separator is not removed when win32api.GetFullPathName() is used.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
remove use of "os" module (bootstrap issues) and go to the underlying
platform-specific modules
fix problem in _compile() (trapped wrong error on permission issues)
add SysPathImporter and BuiltinImporter
put __file__ into modules imported from the filesystem. [backwards compat]
put __path__ into modules [backwards compat]
oops: it is doing this for all modules, not just packages.
comment and tweak to the PackageArchiveImporter
|
|
|
|
| |
problem: it does not encode/decode the urls, which is wrong.
|
| |
|
|
|
|
|
| |
checked in due to a patching mishap. Reported by Detlef Lannert;
thanks!
|
| |
|
| |
|
|
|
|
|
| |
parameter match. Error pointed out by François
Pinard <pinard@iro.umontreal.ca> on c.l.py.
|