Commit Graph

290 Commits

Author SHA1 Message Date
Benjamin Peterson 1c335e63c9 use pkg-config to find the libffi headers when --with-system-ffi is used #6943 2010-01-01 15:16:29 +00:00
Ronald Oussoren b5afe548d4 Fix for issue #7541: python-config --ldflags doesn't pick up libpython2.5.a 2009-12-24 14:17:19 +00:00
Ronald Oussoren 92919a66d2 Issue #6834: replace the implementation for the 'python' and 'pythonw' executables on OSX.
The previous implementation used execv(2) to run the real interpreter, which means that
you cannot use the arch(1) tool to select the architecture you want to use for a
universal build because that only affects the python/pythonw wrapper and not the actual
interpreter.

The new version uses posix_spawnv with a number of OSX-specific options that ensure that
the real interpreter is started using the same CPU architecture as the wrapper, and that
means that 'arch -ppc python' now actually works.

I've also changed the way that the wrapper looks for the framework: it is now linked to
the framework rather than hardcoding the framework path. This should make it easier to
provide pythonw support in tools like virtualenv.
2009-12-24 13:30:58 +00:00
Georg Brandl 71a015ac1c Add a regrtest option to re-run in verbose mode immediately after a test fails, and use that option on the buildbots. 2009-10-27 20:52:02 +00:00
Mark Dickinson bb28285ea2 Issue #7117: Prepare for backport of py3k float repr.
Add the Python/dtoa.c file containing the main algorithms;
add corresponding include file and include in Python.h;
include license information for Python/dtoa.c;
add dtoa.c and dtoa.h to Makefile.
2009-10-24 12:13:30 +00:00
Mark Dickinson 143d433896 Issue #6982: Add generated Lib/lib2to3/*.pickle files to 'make clean' target.
Thanks egreen.
2009-09-24 19:21:07 +00:00
Ronald Oussoren 2596758cb4 Fix build issues on OSX 10.6 (issue 6802) 2009-09-06 10:00:26 +00:00
Mark Dickinson 8dcd06fc5a Issue #6297: Add autogenerated Misc/python.pc file to make distclean target. Thanks Jerry Chen. 2009-08-31 14:46:07 +00:00
Benjamin Peterson 771e87bfed install unittest as a package 2009-07-21 23:13:14 +00:00
Benjamin Peterson 9bd39c119e put downloaded test support files in Lib/test/data instead of the cwd 2009-07-11 22:15:13 +00:00
Benjamin Peterson 80ce61c053 make ast.c depend on the grammar 2009-06-09 17:24:26 +00:00
Ronald Oussoren 8e631258ad This checkin adds a symlink to the lib directory of a framework install
of Python (on OSX), and the end result of that is that the combination of
``python-config --ldflags`` and ``python-config --libs`` refers to an actually
existing location.

I've done this in preference to changing python-config to specify
'-framework Python' for linking because that doesn't work when you have multiple
versions of python installed (because '-framework Python' will always link to
the 'Current' version of the framework, without a possibility to specify a
specific version).
2009-06-08 20:54:59 +00:00
Antoine Pitrou f2caeed9c6 Issue #3585: Add pkg-config support.
It creates a python-2.7.pc file and a python.pc symlink in the
$(LIBDIR)/pkgconfig directory. Patch by Clinton Roy.
2009-05-24 20:23:57 +00:00
Benjamin Peterson e5afa3b24b support building with subversion 1.7 #6094 2009-05-23 19:24:37 +00:00
Ronald Oussoren f44c6540fb This patch ensures that the pydoc_data package gets installed. This is needed
to make it possible to use pydoc to get access to the language reference.

That is, without this patch the folllowing won't work:

   >>> help('if')
2009-05-19 19:06:38 +00:00
Tarek Ziadé e2be83def8 Fixed Issue 5900: distutils.command.build_ext - Ensure RUNPATH is added to extension modules with RPATH if GNU ld is used 2009-05-09 08:28:53 +00:00
Tarek Ziadé 99f660af3f Fixed #5941: added ARFLAGS for the archiver command. 2009-05-07 21:20:34 +00:00
Eric Smith cac7af6863 Issue #5793: rationalize isdigit / isalpha / tolower, etc. Will port to py3k. Should fix Windows buildbot errors. 2009-04-27 19:04:37 +00:00
Thomas Heller addfe22821 Issue #5161: wrong paths for ctypes cleanup when Python is built in a
directory other than the source directory.
2009-04-24 18:10:46 +00:00
Benjamin Peterson 82d1cf1ecc fix typo 2009-04-19 03:02:54 +00:00
Benjamin Peterson e753abdec7 ignore py3_test_grammar when compiling the library 2009-04-11 19:31:00 +00:00
Benjamin Peterson b3efcbc19b fix syntax 2009-04-08 13:29:41 +00:00
Benjamin Peterson 487915c729 these must be installed to correctly run tests 2009-04-08 13:27:29 +00:00
Antoine Pitrou 789be0c0a0 Issue #2396: backport the memoryview object. 2009-04-02 21:18:34 +00:00
Jeremy Hylton 1e6da5c39f Update quicktest to match Python 3 branch 2009-03-31 13:31:00 +00:00
Matthias Klose 8ad554fdbe - Link the shared python library with $(MODLIBS). 2009-02-22 23:14:26 +00:00
Brett Cannon 94196532c1 Make importlib a package. This allows using svn:externals in the sandbox to
package up the code for separate distribution.
2009-02-03 04:58:29 +00:00
Benjamin Peterson 3a5067c208 de-spacify 2009-01-13 22:22:41 +00:00
Benjamin Peterson 3bf451aec1 add bytearrayobject.h to PYTHON_HEADERS 2009-01-13 21:43:11 +00:00
Benjamin Peterson fac1bc615c make bytearrayobject.o depend on the stringlib #4936 2009-01-13 21:42:23 +00:00
Martin v. Löwis 0fa10b3cd5 Issue #4817: Remove unused function PyOS_GetLastModificationTime. 2009-01-03 17:19:26 +00:00
Ronald Oussoren 0bbebbbee3 Fix for issue 4472 is incompatible with Cygwin, this patch
should fix that.
2009-01-02 15:06:00 +00:00
Ronald Oussoren 5a5c7392ab Fix for issue4780 2009-01-02 10:50:48 +00:00
Ronald Oussoren 79f90498bc Fix for issue4472: "configure --enable-shared doesn't work on OSX" 2009-01-02 10:44:46 +00:00
Mark Dickinson d66c6d31af Issue 4692: bogus 'Make' in Makefile.pre.in; replace with '$MAKE'.
Thanks Ned Deily.
2008-12-18 19:46:21 +00:00
Matthias Klose 015c84b389 - install versioned manpage 2008-10-21 09:12:25 +00:00
Matthias Klose 922d1fd641 - Makefile.pre.in(PROFILE_TASK): search files in srcdir 2008-10-10 07:24:20 +00:00
Brett Cannon 60b15d20f2 Add the 'patchcheck' build target to .PHONY.
Re-closes issue 3758. Thanks to Ralph Corderoy for the catch.
2008-10-06 22:44:37 +00:00
Brett Cannon cdeb24bb05 GNU coding guidelines say that ``make check`` should verify the build. That
clashes with what Python's build target did. Rename the target to 'patchcheck'
to avoid the culture clash.

Closes issue 3758.
Reviewed by Benjamin Peterson.
2008-09-05 22:59:17 +00:00
Gregory P. Smith 2bb25cc1e2 Issue #3678: Correctly pass LDFLAGS and LDLAST to the linker on shared
library targets in the Makefile.
2008-09-02 05:29:51 +00:00
Martin v. Löwis 8dbf3649e2 Generate the PatternGrammar pickle during "make install".
Fixes part of #3131.
2008-08-01 14:10:26 +00:00
Benjamin Peterson e0f124495b add multiprocessing to the Makefile 2008-06-20 02:47:03 +00:00
Gregory P. Smith b7fea62cca Rename bytesobject.c back to stringobject.c to keep with the PyString theme.
Part of reverting most of r63675 per the mailing list discussion.
2008-06-10 21:23:22 +00:00
Gregory P. Smith dd96db63f6 This reverts r63675 based on the discussion in this thread:
http://mail.python.org/pipermail/python-dev/2008-June/079988.html

Python 2.6 should stick with PyString_* in its codebase.  The PyBytes_* names
in the spirit of 3.0 are available via a #define only.  See the email thread.
2008-06-09 04:58:54 +00:00
Ronald Oussoren 5640ce2f1e MacOS X: Enable 4-way universal builds
This patch adds a new configure argument on OSX:
        --with-universal-archs=[32-bit|64-bit|all]

When used with the --enable-universalsdk option this controls which
CPU architectures are includes in the framework. The default is 32-bit,
meaning i386 and ppc. The most useful alternative is 'all', which includes
all 4 CPU architectures supported by MacOS X (i386, ppc, x86_64 and ppc64).

This includes limited support for the Carbon bindings in 64-bit mode as well,
limited because (a) I haven't done extensive testing and (b) a large portion
of the Carbon API's aren't available in 64-bit mode anyway.

I've also duplicated a feature of Apple's build of python: setting the
environment variable 'ARCHFLAGS' controls the '-arch' flags used for building
extensions using distutils.
2008-06-05 12:58:24 +00:00
Christian Heimes 44720838eb Renamed bytesobject.c to bytearrayobject.c
Renamed stringobject.c to bytesobject.c
Fixed Windows builds
2008-05-26 13:01:01 +00:00
Christian Heimes 593daf545b Renamed PyString to PyBytes 2008-05-26 12:51:38 +00:00
Georg Brandl b1527abbfc Remove directories that no longer exist. 2008-05-20 07:52:27 +00:00
Neal Norwitz 1f60af87f5 Add html package so it gets installed and more tests work (from installed copy) 2008-05-20 05:21:57 +00:00
Georg Brandl 405b5f316a GHOP #217: add support for compiling Python with coverage checking enabled. 2008-05-18 11:46:51 +00:00