Commit Graph

1067 Commits

Author SHA1 Message Date
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
Tim Peters 9e34c04732 Whitespace normalization (via reindent.py). 2005-08-26 15:20:46 +00:00
Martin v. Löwis 0a5d4a20e7 Patch #1167716: Support Unicode filenames in mkpath. Fixes #1121494.
Will backport to 2.4.
2005-08-24 14:55:22 +00:00
Martin v. Löwis b813c53cd8 Patch #827386: Support absolute source paths in msvccompiler.py.
Backported to 2.4.
2005-08-07 20:51:04 +00:00
Phillip J. Eby 5cb784629f Fix "upload" command garbling and truncating files on Windows. If it's a
binary file, use 'rb'!
2005-07-07 15:36:20 +00:00
Tim Peters fffc4b7b3a Whitespace normalization. 2005-05-18 02:18:09 +00:00
Martin v. Löwis d7c795e729 Make parse_makefile fallback to environment variables if nothing is
defined in the makefile. Get CFLAGS from the Makefile, instead of
getting OPT, BASE_CFLAGS and EXTRA_CFLAGS individually.
2005-04-25 07:14:03 +00:00
Brett Cannon 08cd598c21 Introduced EXTRA_CFLAGS as an environment variable used by the Makefile. Meant
to be used for flags that change binary compatibility.

Distutils was tweaked to also use the variable if used during compilation of
the interpreter.
2005-04-24 22:26:38 +00:00
Anthony Baxter fa7e6b46ef typo fix, thanks Jeremy Sanders 2005-04-15 06:17:20 +00:00
Walter Dörwald a6e8a4ad12 Since PyPI only accepts UTF-8 encoded data now, make sure that the data is
properly encoded and include the encoding in the Content-Type header.
2005-03-31 13:57:38 +00:00
Tim Peters eba28bea9b Whitespace normalization. 2005-03-28 01:08:02 +00:00
Tim Peters 700f36c752 Two lines in this file had unbalanced parentheses -- couldn't possibly
work (SyntaxErrors at compile time).

I slammed in what looked like the obvious fixes, but someone who
understands this file should check my work.
2005-03-28 01:05:48 +00:00
Martin v. Löwis ca5d8fea3d Add missing socket import 2005-03-24 19:40:57 +00:00
Fred Drake c6699b7dc4 minor cleanup 2005-03-24 07:00:05 +00:00
Martin v. Löwis 8efd90485c Make SRPMs pyversion 'any'. 2005-03-23 22:16:22 +00:00
Martin v. Löwis 98da562600 Make dist_files a triple, with the Python target version included,
so that bdist_wininst can specify 'any'.
2005-03-23 18:54:36 +00:00
Martin v. Löwis 8d12158991 Make the signature detached. 2005-03-22 23:02:54 +00:00
Martin v. Löwis 24ff83d5f3 Fix registration of output file. 2005-03-22 22:23:29 +00:00
Martin v. Löwis be435bf3c8 Don't set the Python version for sdist uploads. 2005-03-22 20:32:41 +00:00
Martin v. Löwis f74b923ae5 Upload GPG signature. 2005-03-22 15:51:14 +00:00
Fred Drake abc1566eab fix Python style guide conformance 2005-03-22 05:43:18 +00:00
Martin v. Löwis 98858c9efd Actually add the implementation of the command. 2005-03-21 21:00:59 +00:00
Martin v. Löwis 55f1bb8bfa Add the upload command. Make all dist commands register their
outputs with the distribution object.
2005-03-21 20:56:35 +00:00
Fred Drake 227e8ffa20 - rename check_provision() to split_revision()
- fix indentation to conform to the Python style guide
- add more tests and documentation
2005-03-21 06:36:32 +00:00
Fred Drake db7b0027dc PEP 314 implementation (client side):
added support for the provides, requires, and obsoletes metadata fields
2005-03-20 22:19:47 +00:00
Fred Drake 54398d6afb helper code, mostly from Andy Harrington, for PEP 314 completion 2005-03-20 22:17:02 +00:00
Tim Peters a733bd96f1 Port bugfix from 2.4 maint.
Bug #1160802:  Can't build Zope on Windows w/ 2.4.1c1.

MSVCCompiler.initialize():  set self.initialized to True, as suggested
by AMK.  Else we keep growing the PATH endlessly, with each new C
extension built, until putenv() complains.

No change to NEWS because the patch that created this bug is also new
for 2.5a1 (so there's no change here to any code yet released from HEAD).
2005-03-12 19:05:58 +00:00
Brett Cannon 1bfd85b612 Remove some more tab usage to prevent an error when run as ``python -tt``. 2005-03-05 05:32:14 +00:00
Brett Cannon 3304a14148 Remove a tab so that whitespace usage is consistent. 2005-03-05 05:28:45 +00:00
Martin v. Löwis c72dd38f30 Patch #1075887: Don't require MSVC in distutils if there is nothing
to build. Will backport to 2.4
2005-03-04 13:50:17 +00:00
Martin v. Löwis df37c8c1ad Patch #1046831: Use get_python_version where appropriate in sysconfig.py. 2005-03-03 11:08:03 +00:00
Martin v. Löwis 8ed338ab44 Patch #1104111: Alter setup.py --help and --help-commands. 2005-03-03 08:12:27 +00:00
Thomas Heller 07561b3b8e Recompiled after source changes. 2005-02-03 20:48:26 +00:00
Thomas Heller 1d1eac3ce8 Fix [ 1103844 ] fix distutils.install.dump_dirs() with negated options.
Will backport myself.
2005-01-20 19:14:17 +00:00
Jack Jansen be95462c1c After discussion on the PythonMac-SIG it was decided that it is better
to make using "-undefined dynamic_lookup" for linking extensions more
automatic on 10.3 and later. So if we're on that platform and
MACOSX_DEPLOYMENT_TARGET is not set we now set it to the current OSX
version during configure. Additionally, distutils will pick up the
configure-time value by default.

Will backport.
2004-12-26 23:07:48 +00:00
Thomas Heller ee4bb6612a Recompiled after source changes. 2004-12-22 17:24:36 +00:00