- 18 Apr, 2003 1 commit
-
-
Jason Tishler authored
On cygwin, the setup.py script uses unixccompiler.py for compiling and linking C extensions. The unixccompiler.py script assumes that executables do not get special extensions, which makes sense for Unix. However, on Cygwin, executables get an .exe extension. This causes a problem during the configuration step (python setup.py config), in which some temporary executables may be generated. As unixccompiler.py does not know about the .exe extension, distutils fails to clean up after itself: it does not remove _configtest.exe but tries to remove _configtest instead. The attached patch to unixccompiler.py sets the correct exe_extension for cygwin by checking if sys.platform is 'cygwin'. With this patch, distutils cleans up after itself correctly. Michiel de Hoon University of Tokyo, Human Genome Center.
-
- 14 Apr, 2003 1 commit
-
-
Jason Tishler authored
After some more reflection (and no negative feedback), I am reverting the original patch and applying my version, cygwinccompiler.py-shared.diff, instead. My reasons are the following: 1. support for older toolchains is retained 2. support for new toolchains (i.e., ld -shared) is added The goal of my approach is to avoid breaking older toolchains while adding better support for newer ones.
-
- 09 Apr, 2003 3 commits
-
-
Jason Tishler authored
The cygwinccompiler.get_versions() function only handles versions numbers of the form "x.y.z". The attached patch enhances get_versions() to handle "x.y" too (i.e., the ".z" is optional). This change causes the unnecessary "--entry _DllMain@12" link option to be suppressed for recent Cygwin and Mingw toolchains. Additionally, it directs recent Mingw toolchains to use gcc instead of dllwrap during linking.
-
Jason Tishler authored
Currently, the cygwinccompiler.py compiler handling in distutils is invoking the cygwin and mingw compilers with the -static option. Logically, this means that the linker should choose to link to static libraries instead of shared/dynamically linked libraries. Current win32 binutils expect import libraries to have a .dll.a suffix and static libraries to have .a suffix. If -static is passed, it will skip the .dll.a libraries. This is pain if one has a tree with both static and dynamic libraries using this naming convention, and wish to use the dynamic libraries. The -static option being passed in distutils is to get around a bug in old versions of binutils where it would get confused when it found the DLLs themselves. The decision to use static or shared libraries is site or package specific, and should be left to the setup script or to command line options.
-
Andrew M. Kuchling authored
-
- 03 Mar, 2003 3 commits
-
-
Andrew M. Kuchling authored
This patch makes it work again.
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
- 28 Feb, 2003 1 commit
-
-
Andrew M. Kuchling authored
-
- 26 Feb, 2003 1 commit
-
-
Andrew M. Kuchling authored
specified with an absolute path, the object file is also written to an absolute path. The patch drops the drive and leading '/' from the source path, so a path like /path/to/foo.c results in an object file like build/temp.i686linux/path/to/foo.o.
-
- 20 Feb, 2003 2 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
levels. (Previously, -vvv would be the same as -q!)
-
- 19 Feb, 2003 3 commits
-
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
[Patch #684398] Rename verbose argument to show-response; don't conditionalize the get_classifiers() call
-
- 18 Feb, 2003 2 commits
-
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
- 10 Feb, 2003 1 commit
-
-
Jack Jansen authored
split into OPT and BASECFLAGS (Makefile.pre.in rev. 1.108), because now there are essential CFLAGS in BASECFLAGS.
-
- 03 Feb, 2003 1 commit
-
-
Just van Rossum authored
-
- 31 Jan, 2003 1 commit
-
-
Thomas Heller authored
when compiling .RC files. From Robin Dunn, fixes SF # 669198.
-
- 29 Jan, 2003 1 commit
-
-
Guido van Rossum authored
want it to be. Log both the old and new mode.
-
- 27 Jan, 2003 1 commit
-
-
Andrew M. Kuchling authored
have two tuples listing the legal keywords for setup() and Extension()
-
- 24 Jan, 2003 1 commit
-
-
Guido van Rossum authored
executable.
-
- 06 Jan, 2003 1 commit
-
-
Andrew M. Kuchling authored
(Power Macintosh -> Power_Macintosh)
-
- 03 Jan, 2003 2 commits
-
-
Andrew M. Kuchling authored
Add the 'register' distutils command
-
Andrew M. Kuchling authored
Add 'classifiers' keyword to DistributionMetadata
-
- 29 Dec, 2002 1 commit
-
-
Andrew M. Kuchling authored
-
- 03 Dec, 2002 1 commit
-
-
Marc-André Lemburg authored
-
- 29 Nov, 2002 1 commit
-
-
Andrew M. Kuchling authored
-
- 27 Nov, 2002 1 commit
-
-
Andrew M. Kuchling authored
-
- 26 Nov, 2002 3 commits
-
-
Fred Drake authored
-
Andrew M. Kuchling authored
This adds a --relative option to the bdist_dumb command that defaults to false; if true, the .tar.gz or .zip will be assembled using relative paths.
-
Andrew M. Kuchling authored
-
- 22 Nov, 2002 2 commits
-
-
Thomas Heller authored
bdist_wininst.py we will see.) Removed the base64 encoded binary contents, wininst.exe must be in the same directory as this file now. wininst.exe must be recompiled and commited each time the sources in PC/bdist_wininst are changed.
-
Thomas Heller authored
-
- 21 Nov, 2002 3 commits
-
-
Andrew M. Kuchling authored
-
Martin v. Löwis authored
-
Andrew M. Kuchling authored
Previously archive_util.py attempted to spawn an external 'zip' program for the zip action, if this fails, an attempt to import zipfile.py is made... This bites folks who have 'old' or non-conforming zip programs on windows platforms. This change tries the 'zipfile' module first, falling back to spawning a zip process if the module isn't available.
-
- 20 Nov, 2002 1 commit
-
-
Andrew M. Kuchling authored
-
- 19 Nov, 2002 1 commit
-
-
Andrew M. Kuchling authored
suggested by PEP 291.
-