Commit Graph

280 Commits

Author SHA1 Message Date
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
Georg Brandl 7363445d94 Add "tkinter" to the list of directories to install. 2008-05-17 19:06:20 +00:00
Neal Norwitz 0b6b5236ff Install the json package and tests as well as the lib2to3 tests
so the tests work when run from an install directory.
They are currently skipped on the daily runs (not from the buildbots)
for checking refleaks, etc.
2008-05-14 07:21:42 +00:00
Marc-André Lemburg cb33aeaf02 Remove leftovers from reverted setuptools checkin (they were added in r45525). 2008-05-13 19:10:45 +00:00
Benjamin Peterson ed02e51ab2 make message slightly more informative, so there's no chance of misunderstanding it 2008-05-12 00:46:49 +00:00
Brett Cannon b61d801adb Put Lib/lib-old back on to sys.path for module renames. 2008-05-11 23:39:04 +00:00
Eric Smith cf537ff39e Addresses issue 2802: 'n' formatting for integers.
Adds 'n' as a format specifier for integers, to mirror the same
specifier which is already available for floats.  'n' is the same as
'd', but inserts the current locale-specific thousands grouping.

I added this as a stringlib function, but it's only used by str type,
not unicode.  This is because of an implementation detail in
unicode.format(), which does its own str->unicode conversion.  But the
unicode version will be needed in 3.0, and it may be needed by other
code eventually in 2.6 (maybe decimal?), so I left it as a stringlib
implementation.  As long as the unicode version isn't instantiated,
there's no overhead for this.
2008-05-11 19:52:48 +00:00
Ronald Oussoren 580c7fec67 Fix for issue #2573: Can't change the framework name on OS X builds
This introduces a new configure option: --with-framework-name=NAME
(defaulting to 'Python'). This allows you to install several copies
of the Python framework with different names (such as a normal build
and a debug build).
2008-05-02 19:45:11 +00:00
Christian Heimes 6f34109384 I finally got the time to update and merge Mark's and my trunk-math branch. The patch is collaborated work of Mark Dickinson and me. It was mostly done a few months ago. The patch fixes a lot of loose ends and edge cases related to operations with NaN, INF, very small values and complex math.
The patch also adds acosh, asinh, atanh, log1p and copysign to all platforms. Finally it fixes differences between platforms like different results or exceptions for edge cases. Have fun :)
2008-04-18 23:13:07 +00:00
Gregory P. Smith b2693e007b Adds a profile-opt target for easy compilation of a python binary using
gcc's profile guided optimization.
2008-04-13 00:03:25 +00:00
Brett Cannon e974689038 Re-implement the 'warnings' module in C. This allows for usage of the
'warnings' code in places where it was previously not possible (e.g., the
parser). It could also potentially lead to a speed-up in interpreter start-up
if the C version of the code (_warnings) is imported over the use of the
Python version in key places.

Closes issue #1631171.
2008-04-12 23:44:07 +00:00