summaryrefslogtreecommitdiffstats
path: root/Lib/distutils
Commit message (Collapse)AuthorAgeFilesLines
* Patch #812378: Normalize white space.Martin v. Löwis2003-10-241-3/+3
|
* Fix a bunch of typos in documentation, docstrings and comments.Walter Dörwald2003-10-201-1/+1
| | | | (From SF patch #810751)
* Patch from John Anderson to enable VC 7.1 support.Jeremy Hylton2003-07-171-12/+27
| | | | I tested against VC 7.0 and it caused no problems there.
* Do not add extra "\n" after bang line.Gustavo Niemeyer2003-06-271-2/+2
|
* Fix for sf # 749210, wininst isn't build correctly after building zip.Thomas Heller2003-06-121-1/+1
| | | | | | The problem was that subcommands were not reinitialized. Bugfix candidate, will backport myself.
* Fixed indentation error. Closes bug #746953.Jack Jansen2003-06-011-2/+2
|
* Patch #740301: Add +s when linking shared libraries on HP-UX, use -LMartin v. Löwis2003-05-311-2/+4
| | | | for the library path.
* Restore Python 1.5.2 compatibility.Marc-André Lemburg2003-05-141-1/+1
|
* Replace line somehow deleted before last checkin.Jeremy Hylton2003-05-091-0/+1
|
* Variant of SF patch 614770: MSVC 7 supportJeremy Hylton2003-05-091-143/+189
| | | | | | | | distutils now looks for the compiler version in sys.version, falling back to MSVC 6 if the version isn't listed (Python 2.2 and lower). Add helper routines for reading the registry. Refactor many module functions into methods of the compiler to avoid passing lots of state as arguments.
* new method: has_function() - returns a boolean indicating whether theSkip Montanaro2003-04-241-0/+45
| | | | argument function is available on the current platform
* Patch #718049: Setting exe_extension for cygwinJason Tishler2003-04-181-0/+2
| | | | | | | | | | | | | | | | | | | 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.
* Patch #709178: remove -static option from cygwinccompilerJason Tishler2003-04-141-5/+30
| | | | | | | | | | | | | | 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.
* Patch #718551: cygwinccompiler.get_versions() patchJason Tishler2003-04-091-3/+3
| | | | | | | | | | 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.
* Patch #709178: remove -static option from cygwinccompilerJason Tishler2003-04-091-8/+2
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Remove the --verify option in favor of the standard -n/--dry-run optionAndrew M. Kuchling2003-04-091-4/+1
|
* [Bug #693470] 'licence' as an alias for 'license' doesn't work.Andrew M. Kuchling2003-03-031-1/+10
| | | | This patch makes it work again.
* [Bug #69389] List register command in __all__, so setup.py --help-commands ↵Andrew M. Kuchling2003-03-031-0/+1
| | | | will now list it
* Improve descriptionAndrew M. Kuchling2003-03-031-1/+1
|
* [Patch #695090 from Bernhard Herzog] Allow specifying both py_modules and ↵Andrew M. Kuchling2003-02-281-20/+6
| | | | packages
* [Bug #668662] Patch from Pearu Pearson: if a C source file isAndrew M. Kuchling2003-02-261-0/+2
| | | | | | | 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.
* announce(): use the level argument to control the log level.Guido van Rossum2003-02-201-1/+1
|
* set_verbosity(): do something reasonable for out-of-range verbosityGuido van Rossum2003-02-201-3/+3
| | | | levels. (Previously, -vvv would be the same as -q!)
* Include download_url in the data POSTed to the catalog serverAndrew M. Kuchling2003-02-191-0/+1
|
* [Patch #683939] Add download_url field to metadataAndrew M. Kuchling2003-02-192-2/+9
|
* [Patch #684398] Rename verbose argument to show-response; don't ↵Andrew M. Kuchling2003-02-191-9/+8
| | | | conditionalize the get_classifiers() call
* Use python.org as the repositoryAndrew M. Kuchling2003-02-181-2/+1
|
* [Patch #681504] Call customize_compiler in config commandAndrew M. Kuchling2003-02-181-0/+2
|
* Pick up Makefile variable BASECFLAGS too. This is needed since OPT wasJack Jansen2003-02-101-2/+4
| | | | | split into OPT and BASECFLAGS (Makefile.pre.in rev. 1.108), because now there are essential CFLAGS in BASECFLAGS.
* patch #664131, fix config command on OSX and LinuxJust van Rossum2003-02-031-1/+2
|
* Pass the preprocessor options also to the resource compilerThomas Heller2003-01-311-1/+1
| | | | | | when compiling .RC files. From Robin Dunn, fixes SF # 669198.
* Only log a message and chmod() when the mode isn't already what weGuido van Rossum2003-01-291-3/+6
| | | | want it to be. Log both the old and new mode.
* Remove the recently-added get_distutil_options(), and justAndrew M. Kuchling2003-01-272-8/+15
| | | | have two tuples listing the legal keywords for setup() and Extension()
* Change the mode of scripts in the build/scripts* directory toGuido van Rossum2003-01-241-0/+12
| | | | executable.
* Translate spaces in the machine name to underscoresAndrew M. Kuchling2003-01-061-2/+3
| | | | (Power Macintosh -> Power_Macintosh)
* [Patch #658094 ] PEP 301 implementationAndrew M. Kuchling2003-01-031-0/+293
| | | | Add the 'register' distutils command
* [Patch #658094] PEP 301 implementationAndrew M. Kuchling2003-01-031-1/+12
| | | | Add 'classifiers' keyword to DistributionMetadata
* Bug #599248: strip directories when building Python. Out-of-tree builds ↵Andrew M. Kuchling2002-12-291-2/+5
| | | | should work again.
* Adding Python <= 2.2 support back in.Marc-André Lemburg2002-12-031-3/+10
|
* Fix mode on scripts to have the read bit set (noted by Nicholas Riley)Andrew M. Kuchling2002-11-291-1/+1
|
* [Part of patch #641685] Add .dylib as an extension for shared librariesAndrew M. Kuchling2002-11-271-1/+1
|
* Use "is" to test type objects, not "==".Fred Drake2002-11-261-1/+1
|
* Fix for bug #410541: bdist builds bogus .zipsAndrew M. Kuchling2002-11-261-6/+25
| | | | | | 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.
* Part of the fix for bug #410541: add ensure_relative() functionAndrew M. Kuchling2002-11-261-1/+15
|
* (This is hopefully the last large, funny checkin message forThomas Heller2002-11-222-400/+4
| | | | | | | | | | 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.
* get_python_version was not imported.Thomas Heller2002-11-221-0/+1
|
* Reflow commentAndrew M. Kuchling2002-11-211-3/+3
|
* Patch #642019: Recognize gcc-x.y as gcc.Martin v. Löwis2002-11-211-1/+1
|
* Bug #639118 from Ollie Oldham: archiver should use zipfile before zipAndrew M. Kuchling2002-11-211-28/+30
| | | | | | | | | | | 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.
* Add missing importAndrew M. Kuchling2002-11-201-1/+1
|