summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command
Commit message (Collapse)AuthorAgeFilesLines
...
* Use the right wininstXX.exe, depending onThomas Heller2004-02-201-2/+8
| | | | | | | msvccompiler.get_build_version(). Distributions without a pre-install-script didn't work any longer, we must at least provide the terminating NUL character.
* wininst-6.exe and wininst-7.1.exe are in CVS, so that they can beThomas Heller2004-02-202-0/+0
| | | | | | included in Python distributions for systems other than Windows. Windows installers can be build on non-Windows systems as long as they only include pure python module distributions.
* wininst.exe is no longer used - we now need wininst-6.exe or wininst-7.1.exe.Thomas Heller2004-02-201-0/+0
|
* Recompiled the binary wininst.exe.Thomas Heller2004-02-201-0/+0
| | | | | | | | | | | | | Patch #892660 from Mark Hammond, for distutils bdist_wininst command. install.c: support for a 'pre-install-script', run before anything has been installed. Provides a 'message_box' module function for use by either the pre-install or post-install scripts. bdist_wininst.py: support for pre-install script. Typo (build->built), fixes so that --target-version can still work, even when the distribution has extension modules - in this case, we insist on --skip-build, as we still can't actually build other versions.
* Patch #892660 from Mark Hammond, for distutils bdist_wininst command.Thomas Heller2004-02-201-3/+29
| | | | | | | | | | | install.c: support for a 'pre-install-script', run before anything has been installed. Provides a 'message_box' module function for use by either the pre-install or post-install scripts. bdist_wininst.py: support for pre-install script. Typo (build->built), fixes so that --target-version can still work, even when the distribution has extension modules - in this case, we insist on --skip-build, as we still can't actually build other versions.
* Revert another local change that snuck into a whitespace normalizationTim Peters2004-01-181-2/+1
| | | | patch.
* Whitespace normalization.Tim Peters2004-01-181-1/+2
|
* 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.
* Remove the --verify option in favor of the standard -n/--dry-run optionAndrew M. Kuchling2003-04-091-4/+1
|
* [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
* Include download_url in the data POSTed to the catalog serverAndrew M. Kuchling2003-02-191-0/+1
|
* [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
|
* patch #664131, fix config command on OSX and LinuxJust van Rossum2003-02-031-1/+2
|
* 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.
* Change the mode of scripts in the build/scripts* directory toGuido van Rossum2003-01-241-0/+12
| | | | executable.
* [Patch #658094 ] PEP 301 implementationAndrew M. Kuchling2003-01-031-0/+293
| | | | Add the 'register' distutils command
* Fix mode on scripts to have the read bit set (noted by Nicholas Riley)Andrew M. Kuchling2002-11-291-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.
* (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
|
* Add comment to Distutil files about requiring 1.5.2 compatibility, asAndrew M. Kuchling2002-11-1918-0/+36
| | | | suggested by PEP 291.
* Remove 'created by' lines; people can use CVS for this, and the information ↵Andrew M. Kuchling2002-11-1414-29/+0
| | | | is often out of date
* [Bug #550364] Use sysconfig.get_python_version()Andrew M. Kuchling2002-11-142-3/+3
|
* 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.