Commit Graph

1102 Commits

Author SHA1 Message Date
Guido van Rossum 9b1f5a4740 Patch #1696. Don't attempt to call None.close() in dry-run mode. 2008-01-02 18:59:36 +00:00
Ronald Oussoren ce189e4e7b A test that should test for osx >= 10.4.0 actually tested for os versions <= 10.4. The end result is that
a universal ("fat") build will claim to be a single-architecture on on OSX 10.5 (Leopard).

This patch fixes this issue.
2007-11-22 10:14:26 +00:00
Martin v. Löwis 088277f290 Change location of the package index to pypi.python.org/pypi. 2007-07-25 16:24:08 +00:00
Neal Norwitz 2413e038c4 Backport 55731:
SF 1668596/1720897: distutils now copies data files
even if package_dir is empty.
2007-06-02 18:53:07 +00:00
Neal Norwitz 44dab0ab2f Whitespace normalization 2007-04-25 06:42:41 +00:00
Georg Brandl f784d91215 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.
 (backport from rev. 54941)
2007-04-24 15:27:25 +00:00
Neal Norwitz 93e9384402 Backport 54644:
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.
2007-04-01 18:29:47 +00:00
Marc-André Lemburg 530698235d Bump the patch level version of distutils since there were a few bug fixes
since the 2.5.0 release.

Backport of r54615.
2007-03-31 21:02:43 +00:00
Georg Brandl 74fb211445 Patch #1569798: fix a bug in distutils when building Python from a
directory within sys.exec_prefix.
 (backport from rev. 54331)
2007-03-13 10:19:35 +00:00
Martin v. Löwis 523539de5e Bug #1600860: Search for shared python library in LIBDIR, not
lib/python/config, on "linux" and "gnu" systems.
2007-02-09 12:37:12 +00:00
Matthias Klose fa713e18f6 - Fix build failure on kfreebsd and on the hurd. 2006-12-03 17:13:54 +00:00
Martin v. Löwis 962e4317bc Patch #1360200: Use unmangled_version RPM spec field to deal with
file name mangling.
2006-11-12 18:56:18 +00:00
Phillip J. Eby 511350bee9 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).  (Backport from trunk)
2006-11-10 17:13:29 +00:00
Martin v. Löwis 56602a14e6 Patch #1060577: Extract list of RPM files from spec file in
bdist_rpm
2006-11-04 18:14:22 +00:00
Andrew M. Kuchling 0037300f15 [Bug #1545341] Let the 'classifiers' parameter be a tuple as well as a list. 2006-10-09 17:13:26 +00:00
Ronald Oussoren 115930d981 Backport of r52236 2006-10-08 17:52:37 +00:00
Ronald Oussoren beb82a3772 Backport of r52233 2006-10-08 17:50:26 +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
Ronald Oussoren 59075eb264 disutils checks if MACOSX_DEPLOYMENT_TARGET is consistent with the value at
configure time. The current check is too strict and doesn't allow building
extensions that can only run on newer versions of the OS than the version
python was build for, that is python build for 10.3 or later and an extension
for 10.4. This patch relaxes this check.

This turned out to be a reimplementation of patch 1193190.
2006-04-17 14:43:30 +00:00
Armin Rigo dfde91a79e Fix for a bug exposed by r45232:
/path/to/uninstalled/python setup.py build_ext

now failed with pyconfig.h not found.  Prior to r45232
the above command did not look for pyconfig.h, but the
bug is really in the look-up code: expecting to find it
in os.curdir is a rather fragile idea.
2006-04-17 09:22:35 +00:00
Martin v. Löwis 10acfd00b2 Patch #1429775: Link Python modules to libpython on linux if
--enable-shared. Fixes #832799.
2006-04-10 12:39:36 +00:00
Georg Brandl 1c5a59f80a Bug #1458017: make distutils.Log._log more forgiving when passing in
msg strings with '%', but without format args.
2006-04-01 07:46:54 +00:00
Anthony Baxter 4ef3a23a35 whitespace normalisation 2006-03-30 12:59:11 +00:00
Phillip J. Eby 2e550b3dd2 Implementation for patch request #1457316: support --identity option
for setup.py "upload" command.
2006-03-30 02:12:14 +00:00
Phillip J. Eby 02e19975d4 Patch #1459476: install PKG-INFO metadata alongside distutils-installed packages. 2006-03-27 21:55:21 +00:00
Guido van Rossum f8480a7856 Instead of relative imports, use (implicitly) absolute ones. 2006-03-15 23:08:13 +00:00
Guido van Rossum 87de069e4e Use relative imports in a few places where I noticed the need.
(Ideally, all packages in Python 2.5 will use the relative import
syntax for all their relative import needs.)
2006-03-15 04:33:54 +00:00
Tim Peters e8d09e5818 Whitespace normalization. 2006-03-09 01:15:05 +00:00
Martin v. Löwis fbab90e95b Import bdist_msi 2006-03-05 13:36:04 +00:00
Tim Peters 32cbc96150 Whitespace normalization. 2006-02-20 21:42:18 +00:00
Martin v. Löwis de2cde614c Detect Win64 builds. 2006-02-20 12:26:58 +00:00
Martin v. Löwis e46af8c367 Let the SDK setup override distutils logic. 2006-02-20 12:15:15 +00:00
Martin v. Löwis 6d0c85a71c Patch #1299675: Pass metadata in upload. 2006-01-08 10:48:54 +00:00