| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
The specific warning is that clean didn't find a directory that should
be removed if it exists.
|
|
|
|
| |
Fix a bunch of multiline string constants that used +.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Call ensure_string() with one arg too, since the second value passed
was the default.
|
| |
|
| |
|
|
|
|
|
| |
Make all returns explicit and rearrange logic to avoid extra
indentation.
|
|
|
|
|
| |
mode is not computed in dry_run mode, so it can't be included in the
log message.
|
|
|
|
|
| |
Fixes a bug for Solaris pkgtool (bdist_pkgtool) that would have
prevented it from building subpackages.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a conservative version of SF patch 504889. It uses the log
module instead of calling print in various places, and it ignores the
verbose argument passed to many functions and set as an attribute on
some objects. Instead, it uses the verbosity set on the logger via
the command line.
The log module is now preferred over announce() and warn() methods
that exist only for backwards compatibility.
XXX This checkin changes a lot of modules that have no test suite and
aren't exercised by the Python build process. It will need
substantial testing.
|
| |
|
|
|
|
|
|
|
| |
under NT - this allows distutils to work with the CVS version or the
source distribution.
Wrap a long line.
|
| |
|
|
|
|
|
|
| |
base class (in bdist_packager) and two subclasses which make use
of this base class: bdist_pkgtool (for Solaris) and bdist_sdux (for
HP-UX).
|
| |
|
|
|
|
|
|
|
| |
This suppresses bogus warnings about modules installed into a directory
not in sys.path.
Bugfix candidate.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
.compile to be None, and set it to true if it is.
Caught by Pearu Peterson.
Bugfix candidate, if the previous change is accepted for
release22-maint.
|
|
|
|
|
|
|
| |
Remove unused no_compile flag
Initialize the Boolean attribute .compile to 0 instead of None
Bugfix candidate.
|
|
|
|
|
|
| |
got this right?
Bugfix candidate, unless Thomas notes a problem.
|
|
|
|
|
|
| |
(Someone should check the other commands for this same error.)
Bugfix candidate.
|
|
|
|
| |
bug #521526.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
--install-script ... command line option to bdist_wininst) at the end
of the installation and at the start of deinstallation. Output
(stdout, stderr) of the script (if any) is displayed in the last
screen at installation, or in a simple message box at deinstallation.
sys.argv[1] for the script will contain '-install' at installation
time or '-remove' at deinstallation time.
The installation script runs in an environment (embedded by the
bdist_wininst runtime) where an additional function is available as
builtin:
create_shortcut(path, description, filename,
[arguments[, workdir[, iconpath, iconindex]]])
Recreated this file after source changes.
|
|
|
|
|
|
| |
local conventions before being used by build_py.
Fixes SF bug #509288, probably a candidate for 2.2.1
|
|
|
|
|
|
|
|
| |
contain the type of the file (regular file, socket, link, &c.).
This means that install_scripts will now print
"changing mode of <file> to 775" instead of "... to 100775".
2.2 bugfix candidate, I suppose, though this isn't actually fixing a bug.
|
|
|
|
| |
Closes patch #435381.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
present - at least the swigged file should be named <name>_wrap.c as
this is also SWIG's default. (Even better would be to generate the
wrapped sources in a different location, but I'll leave this for
later).
Newer versions of SWIG don't accept the -dnone flag any more.
Since virtually nobody uses SWIG with distutils, this should do no
harm.
Suggested be Martin Bless on c.l.p.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
crashes.
If no external zip-utility is found, the archive is created by the
zipfile module, which behaves different now than in 2.1: if the
zip-file is created in the root directory if the distribution, it will
contain an (empty) version of itself.
This triggered the above bug - so it's better to create the zip-file
far away in the TMP directory.
|
|
|
|
|
|
|
|
|
|
|
| |
>
> When using 'distutils' (shipped with Python 2.1) I've found that my
> Python scripts installed with a first line of:
>
> #!/usr/bin/python2.1None
>
> This is caused by distutils trying to patch the first line of the python
> script to use the current interpreter.
|
|
|
|
| |
[ #409430 ] pydoc install broken
|
|
|
|
|
|
|
|
| |
[ #477371 ] build_scripts can use wrong #! line
scripts now get "built" into a directory
build/scripts-$(PYTHON_VERSION)/
|
|
|
|
|
|
|
| |
distutils for the library modules built as shared objects. A better solution
appears possible, but with the threat that the distutils becomes more
magical ("complex").
This closes SF bug #458343.
|
|
|
|
| |
adjust it when a versioned interpreter is supplied (#!.../python2 ...)
|
| |
|
|
|
|
|
| |
in the gui.
Updated to include the new exe-file.
|
|
|
|
|
|
|
|
|
| |
bdist_wininst doesn't use the NT SCHEME any more, instead
a custom SCHEME is used, which is exchanged at installation
time, depending on the python version used.
Avoid a bogus warning frpom install_lib about installing
into a directory not on sys.path.
|
|
|
|
| |
Slightly modified version of patch from Jon Nelson (jnelson).
|
|
|
|
|
| |
INSTALLED_FILES output. Modified version of a patch from
Jon Nelson (jnelson)
|
|
|
|
|
|
| |
modules and extensions on Windows is now $PREFIX/Lib/site-packages.
Includes backwards compatibility code for pre-2.2 Pythons. Contributed
by Paul Moore.
|
|
|
|
| |
Add executable extension, needed to get the program name right on Win32
|
|
|
|
|
| |
Provide include_dirs argument to all calls to ._preprocess and ._compile
Fix typo: pattern.search(pattern) should be pattern.search(line)
|
|
|
|
| |
(This command seems to be essentially untested; should fix that...)
|