- 14 Nov, 2002 5 commits
-
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
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
-
- 13 Nov, 2002 3 commits
-
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
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.
-
Andrew M. Kuchling authored
-
- 08 Nov, 2002 2 commits
-
-
Andrew M. Kuchling authored
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.
-
Andrew M. Kuchling authored
-
- 07 Nov, 2002 2 commits
-
-
Thomas Heller authored
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.
-
-
- 06 Nov, 2002 1 commit
-
-
Gustavo Niemeyer authored
* 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.
-
- 05 Nov, 2002 4 commits
-
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Gustavo Niemeyer authored
[#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().
-
Thomas Heller authored
install-script on the command line. Recreated after recompilation of wininst.exe.
-
- 04 Nov, 2002 5 commits
-
-
Andrew M. Kuchling authored
customize_compiler() now looks at various environment variables and uses their values to override the configured C compiler/preprocessor/linker binary and flags.
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
when output is redirected to a file, compiler error messages show up before Distutils prints the command being invoked.
-
Andrew M. Kuchling authored
whether the Distutils being used supports a particularly capability. (This idea was originally suggested by Juergen Hermann as a method on the Distribution class. I think it makes more sense as a function in core.py, and that's what this patch implements.)
-
Andrew M. Kuchling authored
-
- 31 Oct, 2002 3 commits
-
-
Thomas Heller authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
arguments, triggering a warning instead of raising an exception. (In 1.5.2/2.0, it will print to stderr.) Bugfix candidate for all previous versions. This changes behaviour, but the old behaviour wasn't very useful. If Distutils version X+1 adds a new keyword argument, using the new keyword means your setup.py file won't work with Distutils version X any more.
-
- 16 Oct, 2002 1 commit
-
-
Thomas Heller authored
-
- 15 Oct, 2002 2 commits
-
-
Thomas Heller authored
-
Thomas Heller authored
-
- 09 Oct, 2002 1 commit
-
-
Skip Montanaro authored
the flag. Punt and return a -L flag instead (returning "" gums up the command to be forked).
-
- 07 Oct, 2002 1 commit
-
-
Martin v. Löwis authored
-
- 04 Oct, 2002 1 commit
-
-
Marc-André Lemburg authored
-
- 01 Oct, 2002 2 commits
-
-
Skip Montanaro authored
CCompiler may rely on the presence of self.verbose (SciPy's distutils appears to).
-
Guido van Rossum authored
Strangely, two out of three patches there seem already committed; but the essential one (get rid of the assert in object_filenames in ccompiler.py) was not yet applied. This makes the build procedure for Twisted work again. This is *not* a backport candidate despite the fact that identical code appears to exist in 2.2.2; Twisted builds fine there, so there must have been a change elsewhere.
-
- 29 Sep, 2002 1 commit
-
-
Guido van Rossum authored
-
- 11 Sep, 2002 2 commits
-
-
Jeremy Hylton authored
Note that distutils.core.DEBUG still works if client code uses it, but the core code avoids circular references by using distutils.debug.
-
Jeremy Hylton authored
-
- 09 Sep, 2002 2 commits
-
-
Andrew M. Kuchling authored
to the command-line arguments. Fix this by adding the source filename.
-
Andrew M. Kuchling authored
(Bugfix candidate for 2.2, and likely 2.1 as well)
-
- 13 Aug, 2002 1 commit
-
-
Neal Norwitz authored
-
- 09 Aug, 2002 1 commit
-
-
Guido van Rossum authored
Weinberg). This changes all uses of deprecated tempfile functions to the recommended ones.
-