Marc-André Lemburg
1aa8a696f5
Bump distutils version number to match Python version.
2008-02-01 22:58:17 +00:00
Georg Brandl
501601591b
#1530959 : change distutils build dir for --with-pydebug python builds.
2008-01-21 17:42:40 +00:00
Guido van Rossum
27edd829d7
Patch #1696 . Don't attempt to close None in dry-run mode.
2008-01-02 19:00:46 +00:00
Christian Heimes
9a1d8cec11
Added support for new Windows build dirs in PC/ to distutils.sysconfig
2008-01-01 14:37:32 +00:00
Christian Heimes
cdaa2cbfd5
Added wininst-9.0.exe executable for VS 2008
...
Integrated bdist_wininst into PCBuild9 directory
2007-12-31 14:47:07 +00:00
Christian Heimes
c67a15d865
Fixed bug #1628
...
The detection now works on Unix with Makefile, Makefile with VPATH and on Windows.
2007-12-14 23:42:36 +00:00
Christian Heimes
0a0e583259
Fixed bug #1613 : Makefile's VPATH feature is broken
2007-12-13 19:23:16 +00:00
Christian Heimes
0a5e54e732
Disabled one test that is failing on Unix
2007-12-06 13:55:01 +00:00
Christian Heimes
d3fc07a4a0
Fixed get_config_h_filename for Windows. Without the patch it can't find the pyconfig.h file inside a build tree.
...
Added several small unit tests for sysconfig.
2007-12-06 13:15:13 +00:00
Christian Heimes
cbdb705c88
Fixed bug #1557 by using popen.communicate() before popen.wait()
2007-12-05 20:10:38 +00:00
Christian Heimes
3305c52de7
Applied my patch #1455 with some extra fixes for VS 2005
...
The new msvc9compiler module supports VS 2005 and VS 2008. I've also fixed build_ext to support PCbuild8 and PCbuild9 and backported my fix for xxmodule.c from py3k. The old code msvccompiler is still in place in case somebody likes to build an extension with VS 2003 or earlier.
I've also updated the cygwin compiler module for VS 2005 and VS 2008. It works with VS 2005 but I'm unable to test it with VS 2008. We have to wait for a new version of cygwin.
2007-12-03 13:47:29 +00:00
Georg Brandl
aef205d1a8
#1120 : put explicit version in the shebang lines of pydoc, idle
...
and smtpd.py scripts that are installed by setup.py. That way, they
work when only "make altinstall" is used.
2007-09-12 19:29:28 +00:00
Skip Montanaro
0539313b09
be explicit about the actual location of the missing file
2007-09-08 00:34:17 +00:00
Mark Hammond
1bb124ad0d
[ 1761786 ] distutils.util.get_platform() return value on 64bit Windows
...
As discussed on distutils-sig: Allows the generated installer name on
64bit Windows platforms to be different than the name generated for
32bit Windows platforms.
2007-08-21 01:05:16 +00:00
Mark Hammond
e4f271f38d
[ 1761786 ] distutils.util.get_platform() return value on 64bit Windows
...
As discussed on distutils-sig: Allows the generated installer name on
64bit Windows platforms to be different than the name generated for
32bit Windows platforms.
2007-08-21 01:04:47 +00:00
Martin v. Löwis
254b8f9096
Change location of the package index to pypi.python.org/pypi
2007-07-25 16:24:23 +00:00
Neal Norwitz
478b99b89f
Add all of the distuils modules that don't seem to have explicit tests. :-(
...
Move an import in mworkscompiler so that this module can be imported on
any platform. Hopefully this works on all platforms.
2007-06-11 05:28:45 +00:00
Neal Norwitz
4a700bb469
SF 1668596/1720897: distutils now copies data files
...
even if package_dir is empty.
This needs to be backported. I'm too tired tonight. It would be great
if someone backports this if the buildbots are ok with it. Otherwise,
I will try to get to it tomorrow.
2007-06-01 07:29:12 +00:00
Georg Brandl
fb4b3b77c7
Bug #1706381 : Specifying the SWIG option "-c++" in the setup.py file
...
(as opposed to the command line) will now write file names ending in
".cpp" too.
2007-04-24 15:27:13 +00:00
Neal Norwitz
8f35f44af3
SF #1685563 , MSVCCompiler creates redundant and long PATH strings
...
If MSVCCompiler.initialize() was called multiple times, the path
would get duplicated. On Windows, this is a problem because the
path is limited to 4k. There's no benefit in adding a path multiple
times, so prevent that from occuring. We also normalize the path
before checking for duplicates so things like /a and /a/ won't both
be stored.
Will backport.
2007-04-01 18:24:22 +00:00
Marc-André Lemburg
2365fcde60
Bump the patch level version of distutils since there were a few bug fixes since
...
the 2.5.0 release.
2007-03-30 15:01:42 +00:00
Georg Brandl
18c47f6a3b
Patch #1569798 : fix a bug in distutils when building Python from a
...
directory within sys.exec_prefix.
2007-03-13 10:19:22 +00:00
Martin v. Löwis
0a2032673c
Bug #1600860 : Search for shared python library in LIBDIR, not
...
lib/python/config, on "linux" and "gnu" systems.
Will backport.
2007-02-09 12:36:48 +00:00
Matthias Klose
d149d0c76a
- Fix build failure on kfreebsd and on the hurd.
2006-12-03 17:16:41 +00:00
Martin v. Löwis
45cd4ff95d
Patch #1360200 : Use unmangled_version RPM spec field to deal with
...
file name mangling.
Will backport to 2.5.
2006-11-12 18:56:03 +00:00
Phillip J. Eby
305e778a82
Fix SF#1566719: not creating site-packages (or other target directory) when
...
installing .egg-info for a project that contains no modules or packages,
while using --root (as in bdist_rpm).
2006-11-10 00:33:36 +00:00
Martin v. Löwis
5310e5078a
- Patch #1060577 : Extract list of RPM files from spec file in
...
bdist_rpm
Will backport to 2.5.
2006-11-04 18:14:06 +00:00
Tim Peters
ef3f32f965
Whitespace normalization.
2006-10-18 05:09:12 +00:00
Ronald Oussoren
d6272a3cf6
MacOSX: The universal build requires that users have the MacOSX10.4u SDK
...
installed to build extensions. This patch makes distutils emit a warning when
the compiler should use an SDK but that SDK is not installed, hopefully reducing
some confusion.
2006-10-08 17:51:46 +00:00
Ronald Oussoren
d610369e8b
MacOSX: distutils changes the values of BASECFLAGS and LDFLAGS when using a
...
universal build of python on OSX 10.3 to ensure that those flags can be used
to compile code (the universal build uses compiler flags that aren't supported
on 10.3). This patches gives the same treatment to CFLAGS, PY_CFLAGS and
BLDSHARED.
2006-10-08 17:49:52 +00:00
Andrew M. Kuchling
9d57e53e4e
[Bug #1545341 ] Allow 'classifier' parameter to be a tuple as well as a list. Will backport.
2006-10-06 13:18:26 +00:00
Martin v. Löwis
8b274265f0
Add MSVC8 project files to create wininst-8.exe.
2006-10-04 15:25:28 +00:00
Marc-André Lemburg
604c864f0f
Revert to having static version numbers again.
2006-08-16 08:13:26 +00:00
Martin v. Löwis
77621585e4
Mention Cygwin in distutils error message about a missing VS 2003.
...
Fixes #1257728 .
2006-07-30 13:27:31 +00:00
Martin v. Löwis
1f30c3777c
Base __version__ on sys.version_info, as distutils is
...
no longer maintained separatedly.
2006-07-30 13:14:05 +00:00
Martin v. Löwis
997ceffe07
Bump distutils version to 2.5, as several new features
...
have been introduced since 2.4.
2006-07-27 06:38:16 +00:00
Phillip J. Eby
137ff79329
Fix SF#1457312: bad socket error handling in distutils "upload" command.
2006-07-10 19:18:35 +00:00
Martin v. Löwis
d24d5b3f81
Change error message to indicate that VS2003 is necessary to build extension modules, not the .NET SDK.
2006-07-10 07:26:41 +00:00
Martin v. Löwis
8d65681e94
Introduce DISTUTILS_USE_SDK as a flag to determine whether the
...
SDK environment should be used. Fixes #1508010 .
2006-07-10 07:23:48 +00:00
Martin v. Löwis
4548239e2b
Bug #1267547 : Put proper recursive setup.py call into the
...
spec file generated by bdist_rpm.
2006-07-03 12:28:58 +00:00
Ronald Oussoren
7b9053a274
MacOSX: fix rather dumb buglet that made it impossible to create extensions on
...
OSX 10.3 when using a binary distribution build on 10.4.
2006-06-27 10:08:25 +00:00
Bob Ippolito
ad647859f4
Fix distutils so that libffi will cross-compile between darwin/x86 and darwin/ppc
2006-05-26 14:07:23 +00:00
Tim Peters
211219af4f
Whitespace normalization.
2006-05-23 21:54:23 +00:00
Ronald Oussoren
b02daf794b
Patch #1488098 .
...
This patchs makes it possible to create a universal build on OSX 10.4 and use
the result to build extensions on 10.3. It also makes it possible to override
the '-arch' and '-isysroot' compiler arguments for specific extensions.
2006-05-23 12:01:11 +00:00
Ronald Oussoren
58f8eba372
Disable linking extensions with -lpython2.5 for darwin. This should fix bug
...
#1487105 .
2006-05-23 11:47:16 +00:00
Martin v. Löwis
a07fbce451
Rename parameters to match the documentation (which
...
in turn matches Microsoft's documentation).
Drop unused parameter in CAB.append.
2006-05-01 16:14:16 +00:00
Georg Brandl
bffb0bc064
In stdlib, use hashlib instead of deprecated md5 and sha modules.
2006-04-30 08:57:35 +00:00
Ronald Oussoren
988117fd63
Patch 1471883: --enable-universalsdk on Mac OS X
2006-04-29 11:31:35 +00:00
Georg Brandl
0f45a078a3
Bug #1478326 : don't allow '/' in distutils.util.get_platform machine names
...
since this value is used to name the build directory.
2006-04-28 16:58:52 +00:00
Trent Mick
e96b229d2a
Put break at correct level so *all* root HKEYs acutally get checked for
...
an installed VC6. Otherwise only the first such tree gets checked and this
warning doesn't get displayed.
2006-04-25 00:34:50 +00:00