summaryrefslogtreecommitdiffstats
path: root/Lib/distutils
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Add comment to Distutil files about requiring 1.5.2 compatibility, asAndrew M. Kuchling2002-11-1937-1/+78
| | | | suggested by PEP 291.
* Remove 'created by' lines; people can use CVS for this, and the information ↵Andrew M. Kuchling2002-11-1434-72/+1
| | | | is often out of date
* Fix docstring typo; remove 'created' lineAndrew M. Kuchling2002-11-141-3/+1
|
* [Bug #550364] Use sysconfig.get_python_version()Andrew M. Kuchling2002-11-142-3/+3
|
* [Bug #550364] Add get_python_version()Andrew M. Kuchling2002-11-141-1/+9
|
* [Bug #599248] ext module generation problemAndrew M. Kuchling2002-11-141-2/+2
| | | | | | | | | | If you have source files srcdir1/foo.c and srcdir2/foo.c, the temporary .o for both files is written to build/temp.<platform>/foo.o. This patch sets strip_dir to false for both calls to object_filename, so now the object files are written to temp.<platform>/srcdir1/foo.o and .../srcdir2/foo.o. 2.2 bugfix candidate
* Allow unknown keyword arguments to the Extension class, and warn about them.Andrew M. Kuchling2002-11-131-1/+14
|
* Back out part of rev. 1.53, restoring the use of the string module.Andrew M. Kuchling2002-11-131-4/+6
| | | | | | The two long lines have been reflowed differently; hopefully someone on BeOS can test them. Rev. 1.53 also converted string.atoi() to int(); I've left that alone.
* Update fileAndrew M. Kuchling2002-11-131-10/+14
|
* [Bug #233259] Ugly traceback for DistutilsPlatformErrorAndrew M. Kuchling2002-11-081-3/+1
| | | | | | Fixed by catching all exceptions that are subclasses of DistutilsError, so only the error message will be printed. You can still get the whole traceback by enabling the Distutils debugging mode.
* Fix comment typoAndrew M. Kuchling2002-11-081-1/+1
|
* Use dynamic linking for the SHGetSpecialFolderPath function, it is notThomas Heller2002-11-071-331/+331
| | | | | | | always available on Windows NT. When the function cannot be loaded, get_special_folder_path raises OSError, "function not available". Compiled the exe, and rebuilt bdist_wininst.py.