summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Fixed bug "[#466200] ability to specify a 'verify' script".Gustavo Niemeyer2002-11-061-0/+3
| | | | | | | | | | | * Lib/distutils/command/bdist_rpm.py (bdist_rpm.initialize_options): Included verify_script attribute. (bdist_rpm.finalize_package_data): Ensure that verify_script is a filename. (bdist_rpm._make_spec_file): Included verify_script in script_options tuple. * Misc/NEWS Mention change.
* This patch fixes the following bugs:Gustavo Niemeyer2002-11-052-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [#413582] g++ must be called for c++ extensions [#454030] distutils cannot link C++ code with GCC topdir = "Lib/distutils" * bcppcompiler.py (BCPPCompiler.create_static_lib): Fixed prototype, removing extra_preargs and extra_postargs parameters. Included target_lang parameter. (BCPPCompiler.link): Included target_lang parameter. * msvccompiler.py (MSVCCompiler.create_static_lib): Fixed prototype, removing extra_preargs and extra_postargs parameters. Included target_lang parameter. (MSVCCompiler.link): Included target_lang parameter. * ccompiler.py (CCompiler): New language_map and language_order attributes, used by CCompiler.detect_language(). (CCompiler.detect_language): New method, will return the language of a given source, or list of sources. Individual source language is detected using the language_map dict. When mixed sources are used, language_order will stablish the language precedence. (CCompiler.create_static_lib, CCompiler.link, CCompiler.link_executable, CCompiler.link_shared_object, CCompiler.link_shared_lib): Inlcuded target_lang parameter. * cygwinccompiler.py (CygwinCCompiler.link): Included target_lang parameter. * emxccompiler.py (EMXCCompiler.link): Included target_lang parameter. * mwerkscompiler.py (MWerksCompiler.link): Included target_lang parameter. * extension.py (Extension.__init__): New 'language' parameter/attribute, initialized to None by default. If provided will overlap the automatic detection made by CCompiler.detect_language(), in build_ext command. * sysconfig.py (customize_compiler): Check Makefile for CXX option, and also the environment variable CXX. Use the resulting value in the 'compiler_cxx' parameter of compiler.set_executables(). * unixccompiler.py (UnixCCompiler): Included 'compiler_cxx' in executables dict, defaulting to 'cc'. (UnixCCompiler.create_static_lib): Included target_lang parameter. (UnixCCompiler.link): Included target_lang parameter, and made linker command use compiler_cxx, if target_lang is 'c++'. * command/build_ext.py (build_ext.build_extension): Pass new ext.language attribute to compiler.link_shared_object()'s target_lang parameter. If ext.language is not provided, detect language using compiler.detect_language(sources) instead. * command/config.py (config._link): Pass already available lang parameter as target_lang parameter of compiler.link_executable().
* Must now give the basename - not including directories - of theThomas Heller2002-11-051-346/+358
| | | | | | install-script on the command line. Recreated after recompilation of wininst.exe.
* [Patch #588809] Remove check of environment variables; sysconfig.py will do ↵Andrew M. Kuchling2002-11-041-9/+0
| | | | that now
* [Bug #570655] Fix misleading option textAndrew M. Kuchling2002-11-041-1/+1
|
* Fixes SF bug#614051: win32 build_ext problem.Thomas Heller2002-10-311-0/+2
|
* Recreated after source changes.Thomas Heller2002-10-161-319/+319
|
* Recreated after source changes.Thomas Heller2002-10-151-315/+315
|
* Revert the previous checkin - it didn't work anyway.Thomas Heller2002-10-151-4/+3
|
* Patch #619493: Prefer rpmbuild over rpm if available. Backported to 2.2.Martin v. Löwis2002-10-071-0/+3
|
* Pulling Mark Alexander's contribution from CVS.Marc-André Lemburg2002-10-045-948/+14
|
* Use distutils.debug.DEBUG instead of distutils.core.DEBUG.Jeremy Hylton2002-09-112-2/+4
| | | | | Note that distutils.core.DEBUG still works if client code uses it, but the core code avoids circular references by using distutils.debug.
* Include an empty body when checking for a header fileAndrew M. Kuchling2002-09-091-1/+2
| | | | (Bugfix candidate for 2.2, and likely 2.1 as well)
* Massive changes from SF 589982 (tempfile.py rewrite, by ZackGuido van Rossum2002-08-091-3/+4
| | | | | Weinberg). This changes all uses of deprecated tempfile functions to the recommended ones.
* Recompiled the exe and updated bdist_wininst.py.Thomas Heller2002-07-291-334/+343
|
* Patch #543498: Use License: field instead of Copyright:.Martin v. Löwis2002-07-281-1/+1
|
* This module broke on the Mac (where it can't work, but distutils seems to ↵Jack Jansen2002-06-261-1/+2
| | | | import it anyway) because it imported pwd and grp. Moved the import to inside the routine where they're used.
* Only import msvccompiler on win32 platforms.Jeremy Hylton2002-06-181-11/+11
|
* Extend dependency tracking so that .o files are rebuilt.Jeremy Hylton2002-06-131-4/+2
| | | | | | | | | | Two new tests are needed: Don't skip building an extension if any of the depends files are newer than the target. Pass ext.depends to compiler.compile() so that it can track individual files.
* Add a new definition to Extension objects: depends.Jeremy Hylton2002-06-121-1/+2
| | | | | depends is a list of files that the target depends, but aren't direct sources of the target. think .h files.
* Patch #488073: AtheOS port.Martin v. Löwis2002-06-111-2/+18
|
* Change warning to debug level; it's a very minor issue.Jeremy Hylton2002-06-061-2/+2
| | | | | The specific warning is that clean didn't find a directory that should be removed if it exists.
* Move warning about directory not on sys.path to debug level.Jeremy Hylton2002-06-041-8/+10
| | | | Fix a bunch of multiline string constants that used +.
* Replace bogus bare variables with attribute access.Jeremy Hylton2002-06-041-3/+4
|
* Remove unused importsJeremy Hylton2002-06-042-2/+0
|
* Make None return explicitJeremy Hylton2002-06-041-1/+1
|
* import base64 at the top to avoid two different imports at other timesJeremy Hylton2002-06-041-2/+2
|
* ensure_filename() only takes one argument.Jeremy Hylton2002-06-041-6/+4
| | | | | Call ensure_string() with one arg too, since the second value passed was the default.
* Reindent lines to improve readabilityJeremy Hylton2002-06-041-3/+3
|
* Remove (commented out) options that have moved into the distribution.Jeremy Hylton2002-06-041-13/+0
|
* get_script() implicitly returned None and also had explicit returns.Jeremy Hylton2002-06-041-26/+25
| | | | | Make all returns explicit and rearrange logic to avoid extra indentation.
* Fix bug in recent change to logging code.Jeremy Hylton2002-06-041-1/+1
| | | | | mode is not computed in dry_run mode, so it can't be included in the log message.
* Fix unused local variables caught by pychecker.Jeremy Hylton2002-06-042-11/+3
| | | | | Fixes a bug for Solaris pkgtool (bdist_pkgtool) that would have prevented it from building subpackages.
* Remove unused imports caught by pycheckerJeremy Hylton2002-06-042-3/+0
|
* Make setup.py less chatty by default.Jeremy Hylton2002-06-0415-93/+77
| | | | | | | | | | | | | | | 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.
* Remove unneeded importAndrew M. Kuchling2002-05-301-1/+0
|
* Append the PC specific include 'PC' and library 'PCBuild' directoriesThomas Heller2002-04-251-1/+8
| | | | | | | under NT - this allows distutils to work with the CVS version or the source distribution. Wrap a long line.
* Whitespace normalization. Unka Timmy would be proud.Barry Warsaw2002-04-232-57/+57
|
* Patch #531901 by Mark W. Alexander: adds a new distutils packagerMarc-André Lemburg2002-04-175-4/+976
| | | | | | 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).
* Remove unconditional debugging prints.Thomas Heller2002-04-091-3/+0
|
* Set the warn_dir option to 0 before running the install command.Thomas Heller2002-04-092-0/+2
| | | | | | | This suppresses bogus warnings about modules installed into a directory not in sys.path. Bugfix candidate.
* Revert 0/1 -> False/True change; I didn't intend to muck w/ distutils.Tim Peters2002-04-041-2/+2
|
* Convert a pile of obvious "yes/no" functions to return bool.Tim Peters2002-04-041-2/+2
|
* Revert part of previous patch: several install_* subcommands expectAndrew M. Kuchling2002-03-221-1/+1
| | | | | | | | .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.
* Add missing Boolean optionsAndrew M. Kuchling2002-03-211-3/+2
| | | | | | | Remove unused no_compile flag Initialize the Boolean attribute .compile to 0 instead of None Bugfix candidate.
* Add unlisted Boolean options. Thomas H., can you please check that IAndrew M. Kuchling2002-03-211-1/+2
| | | | | | got this right? Bugfix candidate, unless Thomas notes a problem.
* [Bug #517451] bdist_rpm didn't list all of its Boolean options.Andrew M. Kuchling2002-03-211-1/+1
| | | | | | (Someone should check the other commands for this same error.) Bugfix candidate.
* Allow shebang's which use versioned Python binaries. FixesMarc-André Lemburg2002-02-281-1/+1
| | | | bug #521526.