Commit Graph

396 Commits

Author SHA1 Message Date
Benjamin Peterson 6e3c3c3f19 detect 64-bit systems using maxsize not maxint 2015-01-21 00:47:54 -05:00
Berker Peksag 1b4b7af1d1 Issue #16537: Check whether self.extensions is empty in setup.py.
Patch by Jonathan Hosmer.
2014-09-27 22:55:10 +03:00
Ned Deily 1f70b878c4 Issue #21811: Anticipated fixes to 3.x and 2.7 for OS X 10.10 Yosemite. 2014-06-25 13:33:57 -07:00
doko@ubuntu.com f27ec3e551 - Issue #21285: Refactor and fix curses configure check to always search
in a ncursesw directory.
2014-04-17 20:11:19 +02:00
Benjamin Peterson fbe50672c1 remove runtime_library_dirs for _sqlite; it isn't needed 2014-03-15 12:29:04 -05:00
Benjamin Peterson ef2436fb1c check for berkelydb versions besides 4.3 (#18734) 2013-10-26 13:55:25 -04:00
Ned Deily a2a9f571a5 Issue #1584: Provide options to override default search paths for Tcl and Tk
when building _tkinter.  configure has two new options; if used, both must
be specified:

  ./configure \
      --with-tcltk-includes="-I/opt/local/include" \
      --with-tcltk-libs="-L/opt/local/lib -ltcl8.5 -ltk8.5"

In addition, the options can be overridden with make:

   make \
       TCLTK_INCLUDES="-I/opt/local/include" \
       TCLTK_LIBS="-L/opt/local/lib -ltcl8.6 -ltk8.6"
2013-10-25 00:30:10 -07:00
Ned Deily 6ea3c9b22a Ensure setup.py looks for zlib.h in an OS X SDK. 2013-10-18 21:33:57 -07:00
Georg Brandl 2852364135 Closes #16732: move "xxmodule" comment block to detect_modules(). (Already done in 3.x) 2013-10-13 23:38:44 +02:00
Ned Deily 6166709eec Issue #17990: Only modify include and library search paths when cross-compiling. 2013-05-15 18:00:45 -07:00
doko@ubuntu.com 77d8dbc1e8 - Issue #17086: Search the include and library directories provided by the
compiler.
2013-04-11 00:19:55 +02:00
doko@ubuntu.com 4950a3b6cc - Issue #17477: Update the bsddb module to pybsddb 5.3.0, supporting
db-5.x, and dropping support for db-4.1 and db-4.2.
2013-03-19 14:46:29 -07:00
Kristján Valur Jónsson 868f0aac37 issue #9090 : Take the same approach for socketmodule as daytimemodule
when it needs support from timemodule (which is a .so on linux):
link in timemodule.c for the required functions.
2013-03-19 13:53:56 -07:00
Petri Lehtinen c23178ba36 Issue #5033: Fix building of the sqlite3 extension module 2013-02-23 17:05:28 +01:00
Christian Heimes 56656b0118 add proper dependencies on expat headers and sources 2013-02-09 17:02:06 +01:00
doko@python.org d65e2bab3b - Issue #17086: Backport the patches from the 3.3 branch to cross-build
the package.
2013-01-31 23:52:03 +01:00
Ned Deily 4511e276d5 Issue #14018: fix merge error 2013-01-26 18:08:22 -08:00
doko@ubuntu.com 3d2fc15f82 - Issue #11715: Fix multiarch detection without having Debian development
tools (dpkg-dev) installed.
2012-09-21 13:51:40 +02:00
Christian Heimes 6fd3248855 Issue #15591: run ctypes' configure in quiet mode when setup.py runs silently 2012-09-06 18:02:49 +02:00
Ned Deily 670280470d Issue #15560: Fix building _sqlite3 extension on OS X with an SDK. 2012-08-05 14:42:45 -07:00
Ned Deily d8ec464dbb Issue #14018: Fix OS X Tcl/Tk framework checking when using OS X SDKs. 2012-07-30 04:07:49 -07:00
Nick Coghlan 970fcef84b Issue #15044: Handle Fedora 17's approach to ndbm compatibility (backport from 3.x) 2012-06-17 18:35:39 +10:00
Charles-François Natali 0d3db3a815 Issue #14557: Fix extensions build on HP-UX. Patch by Adi Roiban. 2012-04-12 19:11:54 +02:00
Stefan Krah 4666ebd8fa Issue #14152: backport fix. 2012-02-29 14:17:18 +01:00
Barry Warsaw ffc9caf9fe Backport for Python 2.7 of issue 11715 support for building Python on
multiarch Debian/Ubuntu.
2011-04-07 11:28:11 -04:00
Ezio Melotti c2077b0d9b #11565: Fix several typos. Patch by Piotr Kasprzyk. 2011-03-16 12:34:31 +02:00
Ezio Melotti 24b07bcba3 #11515: fix several typos. Patch by Piotr Kasprzyk. 2011-03-15 18:55:01 +02:00
Benjamin Peterson 206e10c014 Merged revisions 86040 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86040 | benjamin.peterson | 2010-10-31 11:38:19 -0500 (Sun, 31 Oct 2010) | 1 line

  typo
........
2010-10-31 16:40:21 +00:00
Ronald Oussoren 2421525e21 Merged revisions 85744 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85744 | ronald.oussoren | 2010-10-20 15:10:12 +0200 (Wed, 20 Oct 2010) | 7 lines

  Fix for issue #7473.

  Without this patch you'll get link errors in some extensions
  (in particular the _curses_panel) one when you try to build
  a 3-way universal framework when you previously installed a
  2-way universal framework using the python.org installer.
........
2010-10-20 13:11:46 +00:00
Ronald Oussoren 30a171fcb6 Merged revisions 84535 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84535 | ronald.oussoren | 2010-09-05 20:25:59 +0200 (Sun, 05 Sep 2010) | 2 lines

  Fix for issue9662, patch by Łukasz Langa in issue5504.
........
2010-09-16 11:35:07 +00:00
Antoine Pitrou 857298100b Merged revisions 84584 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84584 | antoine.pitrou | 2010-09-07 16:52:42 +0200 (mar., 07 sept. 2010) | 4 lines

  Issue #4026: Make the fcntl extension build under AIX.
  Patch by Sébastien Sablé.
........
2010-09-07 14:55:24 +00:00
Georg Brandl fa8fa0caf4 Remove weakref from setup.py now that it is builtin. 2010-08-21 13:05:38 +00:00
Thomas Heller 001d3a1d8a Fis issue5504: ctypes does now work with systems where mmap can't be
PROT_WRITE and PROT_EXEC.
2010-08-08 17:56:41 +00:00
Stefan Krah 2e26e23d9d Issue #7384: On Gentoo, libreadline.so is a "fake library", so ldd fails.
In that case, do not attempt to parse stderr output.
2010-07-17 12:21:08 +00:00
Ronald Oussoren cd17213e8e Two small fixes for the support for SDKs on MacOSX:
1) The code that checks if an path should be located in the SDK
   explicitly excludes /usr/local. This fixes issue9046

2) The SDK variant for filtering "db_dirs_to_check" in setup.py
   was not doing anything because of a missing assignment.
2010-06-27 12:36:16 +00:00
Stefan Krah 4d32c9c114 Detect missing ldd on all systems. 2010-06-04 09:49:20 +00:00
Stefan Krah 23152ea5bd Use compiler rather than compiler_obj. Thanks Michael Foord for noticing. 2010-06-03 14:25:16 +00:00
Stefan Krah 449aa86bd6 Issue #7384: If the system readline library is linked against ncurses,
the curses module must be linked against ncurses as well. Otherwise it
is not safe to load both the readline and curses modules in an application.

Thanks Thomas Dickey for answering questions about ncurses/ncursesw
and readline!
2010-06-03 12:39:50 +00:00
Ronald Oussoren 593e4ca7a5 Fix for issue #7724: ensure that distutils and python's own setup.py
honor the MacOSX SDK when one is specified.

This is needed to be able to build using the 10.4u SDK while running
on OSX 10.6.

This is a fixed version of the patch in r80963, I've tested this patch
on OSX and Linux.
2010-06-03 09:47:21 +00:00
Antoine Pitrou dac6aeb43c Revert r80963 - it broke compilation everywhere 2010-05-08 15:23:57 +00:00
Ronald Oussoren d875d3c36e Fix for issue #7724: make it possible to build using
the OSX 10.4u SDK on MacOSX 10.6 by honoring the specified
SDK when looking for files.
2010-05-08 08:44:37 +00:00
Ronald Oussoren 9545a23c7f In a number of places code still revers
to "sys.platform == 'mac'" and that is
dead code because it refers to a platform
that is no longer supported (and hasn't been
supported for several releases).

Fixes issue #7908 for the trunk.
2010-05-05 19:09:31 +00:00
Matthias Klose 8a96d209f0 - Build the ossaudio extension on GNU/kFreeBSD. 2010-04-21 22:18:52 +00:00
Matthias Klose ca6d9e9225 setup.py: search ffi.h in include dirs, if LIBFFI_INCLUDEDIR is empty. 2010-04-21 21:45:30 +00:00
Jesus Cea 6557aac599 pybsddb 4.8.4 integration. Please, comment in issue #8156 2010-03-22 14:22:26 +00:00
Matthias Klose 54cc539a2b - Issue #6949: Allow the _bsddb extension to be built with db-4.8.x. 2010-03-15 12:46:18 +00:00
Ronald Oussoren 05b0d1d048 Fix for issue 8066: readline should not be linked against libedit when the
deployment target is 10.4, libedit on 10.4 is too broken.
2010-03-08 07:06:47 +00:00
Gerhard Häring 3bbb67273a Merged code from pysqlite 2.6.0. 2010-03-05 09:12:37 +00:00
Tarek Ziadé 35a3f57937 reverted the usage of compiler_obj in Python's setup.py 2010-03-05 00:29:38 +00:00
Tarek Ziadé 5633a8048f taking sysconfig out of distutils 2010-01-23 09:23:15 +00:00