Commit Graph

489 Commits

Author SHA1 Message Date
Ned Deily
65657c27fa 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:34:44 -07:00
Ned Deily
507c591e5b Ensure setup.py looks for zlib.h in an OS X SDK. 2013-10-18 21:32:00 -07:00
Ned Deily
cd3d8fb825 Issue #18517: Move definition of "xxlimited" extension to detect_modules(). 2013-08-01 23:51:27 -07:00
doko@ubuntu.com
1621d77fc8 - Issue #16754: Fix the incorrect shared library extension on linux. Introduce
two makefile macros SHLIB_SUFFIX and EXT_SUFFIX. SO now has the value of
  SHLIB_SUFFIX again (as in 2.x and 3.1). The SO macro is removed in 3.4.
2013-03-21 13:31:41 -07:00
doko@ubuntu.com
d5537d071c - Issue #16754: Fix the incorrect shared library extension on linux. Introduce
two makefile macros SHLIB_SUFFIX and EXT_SUFFIX. SO now has the value of
  SHLIB_SUFFIX again (as in 2.x and 3.1). The SO macro is removed in 3.4.
2013-03-21 13:21:49 -07:00
Stefan Krah
4f1974496a Issue #17361: Use cc from sysconfig for testing flags. 2013-03-07 01:12:03 +01:00
Petri Lehtinen
d2132144a4 Issue #5033: Fix building of the sqlite3 extension module 2013-02-23 17:24:00 +01:00
Petri Lehtinen
ed909bcbdd Issue #5033: Fix building of the sqlite3 extension module 2013-02-23 17:16:20 +01:00
Christian Heimes
7d01a1eb2b add proper dependencies on expat headers and sources 2013-02-09 17:02:16 +01:00
Christian Heimes
d489c7a0a3 add proper dependencies on expat headers and sources 2013-02-09 17:02:06 +01:00
Stefan Krah
13fe6d1c46 Fix build with 3.x gcc versions. 2013-01-17 12:49:34 +01:00
Stefan Krah
ce55f089fb Increase warning level for _decimal.so and libmpdec build when using gcc. 2013-01-16 14:45:16 +01:00
Christian Heimes
d783261e99 Just to be sure, initialize with a copy of the compiler's lib and inc dirs. 2012-12-12 12:56:51 +01:00
Christian Heimes
f19529cfd6 Fix cross compiling issue in setup.py, ensure that lib_dirs and inc_dirs are
defined in cross compiling mode, too.
2012-12-12 12:41:00 +01:00
Trent Nelson
c101bf32c4 Issue #15298: ensure _sysconfigdata is generated in build directory,
not source directory.

Patch by Richard Oudkerk (sbt).
2012-10-16 08:13:12 -04:00
Stefan Krah
ffc3dee5ae Backport 5cfe8af7abb2. 2012-09-30 21:26:33 +02:00
Christian Heimes
6d1fb5aa85 Issue #15591: run ctypes' configure in quiet mode when setup.py runs silently 2012-09-06 18:03:32 +02:00
Christian Heimes
7dd06e1dc0 Issue #15591: run ctypes' configure in quiet mode when setup.py runs silently 2012-09-06 18:02:49 +02:00
Stefan Krah
a10e2fbe0b Compile _decimal without asserts and update benchmark results. 2012-09-01 14:21:22 +02:00
doko@ubuntu.com
3277b35183 - Issue #11715: Fix multiarch detection without having Debian development
tools (dpkg-dev) installed.
2012-08-08 12:15:55 +02:00
Ned Deily
9b635837c5 Issue #15560: Fix building _sqlite3 extension on OS X with an SDK. 2012-08-05 15:13:33 -07:00
Ned Deily
03e2180b3f Issue #15560: Fix building _sqlite3 extension on OS X with an SDK. 2012-08-05 14:56:21 -07:00
Ned Deily
3b796680c3 Issue #14018: Fix OS X Tcl/Tk framework checking when using OS X SDKs. 2012-07-30 04:09:32 -07:00
Ned Deily
2910a7ba6b Issue #14018: Fix OS X Tcl/Tk framework checking when using OS X SDKs.
Also add tests in the OS X installer build to ensure that the desired
dynamic linking with an optional newer Tcl/Tk in /Library actually
happens.
2012-07-30 02:35:58 -07:00
Ned Deily
8916b853b9 Issue #14018: fix merge error 2013-01-26 18:09:12 -08:00
doko@ubuntu.com
98b1c446d5 - Issue #11715: Fix multiarch detection without having Debian development
tools (dpkg-dev) installed.
2012-09-21 13:52:29 +02:00
doko@ubuntu.com
15bac0f4da - Issue #15235: Allow Berkley DB versions up to 5.3 to build the dbm module. 2012-07-01 10:35:54 +02:00
doko@ubuntu.com
cc5addd3b6 - Issue #14330: Don't derive the include and library search dirs
from GCC for native builds
2012-07-01 00:23:51 +02:00
doko@ubuntu.com
4c99071c9b - fix the OS X build failure, only try to remove the temporary file if it exists 2012-06-30 23:28:09 +02:00
Antoine Pitrou
7f7902ce9c Merge 2012-06-30 23:03:18 +02:00
Antoine Pitrou
d06f9742db Try to fix compilation failure under OS X 2012-06-30 22:56:37 +02:00
doko@ubuntu.com
1abe1c5fe1 - Issue #14330: For cross builds, don't use host python, use host search paths
for host compiler.
2012-06-30 20:42:45 +02:00
Matthias Klose
e344eca3ff previous patch needs patch from issue #14330
set cross_compiling = False for now.
2012-06-30 18:32:06 +02:00
Matthias Klose
fe39bd12f8 - merge branches 2012-06-30 18:26:26 +02:00
doko@ubuntu.com
5884449539 - Issue #3754: Use readelf instead of ldd for the cross build readline check 2012-06-30 18:25:32 +02:00
Stefan Krah
3746aee905 Whitespace. 2012-06-30 18:20:33 +02:00
doko@ubuntu.com
93df16bb16 - Issue #3754, refactor sys.platform / get_platform bits, use a
global host_platform instead.
2012-06-30 14:32:08 +02:00
Éric Araujo
859aad6a36 Remove packaging from the standard library.
Distutils2 will live on on PyPI and be included in the stdlib when it
is ready.  See discussion starting at
http://mail.python.org/pipermail/python-dev/2012-June/120430.html
2012-06-24 00:07:41 -04:00
Ned Deily
69192238ba Issue #14225: Fix Unicode support for curses (#12567) on OS X:
1. on OS X, there is no separate /usr/lib/libcursesw nor libpanelw
    2. _XOPEN_SOURCE_EXTENDED must be enabled for _curses build
2012-06-20 23:47:14 -07:00
Nick Coghlan
2b3eb0dbac Merge from 3.2. (Issue #15044: Handle Fedora 17's approach to ndbm compatibility) 2012-06-17 18:27:54 +10:00
Nick Coghlan
50f147a9be Issue #15044: Handle Fedora 17's approach to ndbm compatibility 2012-06-17 18:27:11 +10:00
Vinay Sajip
7ded1f0f69 Implemented PEP 405 (Python virtual environments). 2012-05-26 03:45:29 +01:00
Antoine Pitrou
019ff19c39 Issue #14693: Under non-Windows platforms, hashlib's fallback modules are always compiled, even if OpenSSL is present at build time. 2012-05-16 16:41:26 +02:00
Antoine Pitrou
23bba4ca39 Issue #11750: The Windows API functions scattered in the _subprocess and
_multiprocessing.win32 modules now live in a single module "_winapi".
Patch by sbt.
2012-04-18 20:51:15 +02:00
Ross Lagerwall
0b63b5691c Be less verbose when building dbm. 2012-04-15 08:19:35 +02:00
Charles-François Natali
515ea9bd65 Issue #14557: Fix extensions build on HP-UX. Patch by Adi Roiban. 2012-04-12 19:09:00 +02:00
Charles-François Natali
5739e102dd Issue #14557: Fix extensions build on HP-UX. Patch by Adi Roiban. 2012-04-12 19:07:25 +02:00
Ned Deily
458a6fbaa8 Issue #14463: Prevent _decimal.so compile failures in OS X installer builds. 2012-04-01 02:30:46 -07:00
Stefan Krah
60187b5ee5 Issue #7652: Enable linking of _decimal.so against an installed libmpdec. 2012-03-23 19:06:27 +01:00
Stefan Krah
1919b7e72b Issue #7652: Integrate the decimal floating point libmpdec library to speed
up the decimal module. Performance gains of the new C implementation are
between 12x and 80x, depending on the application.
2012-03-21 18:25:23 +01:00