| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
.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...)
|
|
|
|
|
|
| |
libraries. This is done by adding a .get_source_files() method,
contributed by Rene Liebscher and slightly modified.
Remove an unused local variable spotted by PyChecker
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
under MacOS.)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to the current Python interpreter (ie. the one used for
building/installation), even (especially!) if "/usr/bin/env" appears in
the #! line.
Rationale: installing scripts with "#!/usr/bin/env python" is asking for
trouble, because
1) it might pick the wrong interpreter (not the one used to
build/install the script)
2) it doesn't work on all platforms (try it on IRIX 5, or on Linux
with command-line options for python)
3) "env" might not be in /usr/bin
|
| |
|
| |
|
|
|
|
| |
rebuild.
|
| |
|
|
|
|
|
| |
specified on the command-line or in setup.cfg. The option processing
leaves them as strings, but they're supposed to be lists.
|
|
|
|
|
|
|
|
|
|
|
|
| |
has been changed to include an uninstaller.
I forgot to mention in the uninstaller checkin that the logfile
name (used for uninstalling) has been changed from
<module>.log to <module>-wininst.log. This should prevent
conflicts with a distutils logfile serving the same purpose.
The short form of the --bdist-dir (-d) option has been removed
because it caused conflicts with the short form of the --dist-dir
option.
|
| |
|
|
|
|
|
| |
slightly more brief, and more like the message that an extension will not
be built because the built copy is up to date.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
--bitmap command line option allows to use a different bitmap file instead
of the build-in python powered logo.
--title lets you specify the text to display on the background.
The editbox in the first screen now longer is
selected (highlighted), it had the WS_TABSTOP flag.
This is the patch
http://sourceforge.net/patch/?func=detailpatch&patch_id=103687&group_id=5470
with two changes:
1. No messagebox displayed when the compilation to .pyc or .pyo files
failes, this will only confuse the user (and it will fail under certain
cases, where sys.path contains garbage).
2. A debugging print statement was removed from bdist_wininst.py.
|
|
|
|
| |
This partially fixes bug #128930.
|
|
|
|
| |
Uche Ogbuji
|
| |
|
|
|
|
| |
building.
|
|
|
|
|
|
|
|
|
| |
Lib/distutils/command/build_ext.py(build_ext.finalize_options): Add
Cygwin specific code to append Python's library directory to the
extension's list of library directories.
(build_ext.get_libraries): Add Cygwin specific code to append Python's
(import) library to the extension's list of libraries.
|