Commit Graph

212 Commits

Author SHA1 Message Date
Martin v. Löwis c300175547 Patch #579435: Shadow Password Support Module 2005-01-23 09:27:24 +00:00
Brett Cannon 44837719ef Since it is a possibility that LDFLAGS or CPPFLAGS were set with options that
in no way affect library or include directories the code must take that into
account and not assume some options were found.
2005-01-02 21:54:07 +00:00
Brett Cannon 4810eb9a08 Strip out double dashes and dashes for options not used during parsing of
LDFLAGS and CPPFLAGS for library and include directories, respectively.  Solves
issue of either env var containing other options that do not pertain to the
directories being searched for.
2004-12-31 08:11:21 +00:00
Brett Cannon 5399c6d3d4 Switch from getting LDFLAGS and CPPFLAGS from the environment to the Makefile.
This is to avoid a problem that inconsistently comes up where the environment
variable is unset while the Makefile clearly has the values set and are used
during ``make``.

Closes bug #1081045.
2004-12-18 20:48:09 +00:00
Gregory P. Smith e76c8c0383 rewrote the bsddb module BerkeleyDB library and include file locating
code.  This version is much cleaner and makes a proper attempt at
pairing up the correct header file and library.
2004-12-13 12:01:24 +00:00
Gregory P. Smith 7af53a6de4 the bsddb module now also works with BerkeleyDB 4.3. 2004-12-13 09:57:32 +00:00
Brett Cannon 84667c063a Change code in setup.py for parsing LDFLAGS and CPPFLAGS to use optparse
instead of getopt.  Required making use of gettext._ as optional (optparse
changed OK'ed by Greg Ward in private email).
2004-12-07 03:25:18 +00:00
Brett Cannon 516592f4ff setup.py now uses the library directories specified in LDFLAGS (``-L``
directories) and the include directories specified in CPPFLAGS (``-I``
directories) for compiling the extension modules.

This has led to the core being compiled with the values in the shell's
CPPFLAGS.  It has also removed the need for special casing to use Fink and
DarwinPorts under darwin since the needed directories can now be specified in
LDFLAGS and CPPFLAGS (e.g., DarwinPorts users can now do
``LDFLAGS=-L/opt/local/lib; CPPFLAGS=-I/opt/local/include; ./configure`` for
everything to work properly).

Parsing the values in the environment variables is done with getopt.  While optparse
would have been a nicer solution it cannot be used because of dependency issues
at execution time; optparse uses gettext which uses struct which will not have
been compiled when the code is imported.  If optparse ever makes its
importation of gettext optional by catching ImportError and setting _() to an
identity function then it can be used.
2004-12-07 00:42:59 +00:00
Martin v. Löwis fba7369824 Patch #1050475: Fix various x86_64 build issues
regrtest.py: skip rgbimg and imageop as they are not built on 64-bit systems.
_tkinter.c: replace %.8x with %p for printing pointers.
setup.py: add lib64 into the library directories.
2004-11-13 11:13:35 +00:00
Anthony Baxter 22dcf66f84 Patch 983206: distutils obeys LDSHARED env var. Removed the code in
Python's own setup.py that did the same thing (and tested on Solaris,
where LDSHARED is needed...)
2004-10-13 15:54:17 +00:00
Brett Cannon 35b93d9720 Add the directories where DarwinPorts installs library and include files to
the proper path directories for compiling extension modules.
2004-09-28 03:49:52 +00:00
Andrew M. Kuchling 57269d0c7c Remove mpz, rotor, xreadlines modules 2004-08-31 13:37:25 +00:00
Tim Peters 66cb018c96 Whitespace normalization. 2004-08-26 05:23:19 +00:00
Brett Cannon cc8a4f6563 When building with --disable-toolbox-glue under Darwin, skip building any
Mac-specific modules.  Before all modules were compiled but would fail thanks
to a dependence on the code included when Python was built without the compiler
flag.

Closes bug #991962.
2004-08-26 01:44:07 +00:00
Hye-Shik Chang f64700a512 Add support for FreeBSD 6. 2004-08-18 15:13:41 +00:00
Tim Peters f9cbf21157 Whitespace normalization. 2004-07-23 02:50:10 +00:00
Hye-Shik Chang ad00913cf0 ossaudiodev is available on FreeBSD 5 too. 2004-07-20 01:42:06 +00:00
Neal Norwitz 5e4a3b86b3 Move comment that goes along with audioop 2004-07-19 16:55:07 +00:00
Martin v. Löwis 8fbefe2874 Patch #993173: Enable audioop on 64-bit platforms. 2004-07-19 16:42:20 +00:00
Tim Peters e6ddc8b20b Whitespace normalization. Ran reindent.py over the entire source tree. 2004-07-18 05:56:09 +00:00
Hye-Shik Chang 2bb146f2f4 Bring CJKCodecs 1.1 into trunk. This completely reorganizes source
and installed layouts to make maintenance simple and easy.  And it
also adds four new codecs; big5hkscs, euc-jis-2004, shift-jis-2004
and iso2022-jp-2004.
2004-07-18 03:06:29 +00:00
Jack Jansen 84b7447752 _localemodule now needs to be linked with CoreFoundation on darwin. 2004-07-15 19:56:25 +00:00
Skip Montanaro 852f79993f Install Barry's smtpd.py daemon. 2004-06-26 22:29:42 +00:00
Brett Cannon 057e7200d1 Add compilation of timemodule.c with datetimemodule.c to get
__PyTime_DoubleToTimet().
2004-06-24 01:38:47 +00:00
Martin v. Löwis 642c8a11fd Patch #926209: Patch to setup.py to run on x86_64 Linux. 2004-06-04 13:55:13 +00:00
Andrew M. Kuchling f7e836e6dd Don't build the pcre module any more 2004-06-02 17:42:56 +00:00
Raymond Hettinger c46cb2a1a9 * Restore the pure python version of heapq.py.
* Mark the C version as private and only use when available.
2004-04-19 19:06:21 +00:00
Andrew M. Kuchling 4c4a45de8f [Patch #905863] Support the CVS version of Tcl/Tk, which has the version number 8.5 2004-03-21 18:59:46 +00:00
Andrew M. Kuchling 3c0aa7e7a2 [Patch #850977] Detect Tcl/Tk libraries on FreeBSD/OpenBSD. Bugfix candidate 2004-03-21 18:57:35 +00:00
Skip Montanaro 7209294112 a couple other sunos4 support items removed 2004-02-07 12:50:19 +00:00
Raymond Hettinger 756b3f3c15 * Move collections.deque() in from the sandbox
* Add unittests, newsitem, and whatsnew
* Apply to Queue.py mutex.py threading.py pydoc.py and shlex.py
* Docs are forthcoming
2004-01-29 06:37:52 +00:00
Hye-Shik Chang 3e2a306920 Add CJK codecs support as discussed on python-dev. (SF #873597)
Several style fixes are suggested by Martin v. Loewis and
Marc-Andre Lemburg. Thanks!
2004-01-17 14:29:29 +00:00
Raymond Hettinger 0c4102760c SF Patch #864863: Bisect C implementation
(Contributed by Dmitry Vasiliev.)
2004-01-05 10:13:35 +00:00
Jack Jansen fe3fe4adb5 Adding an interface to the high-level Open Scripting Architecture,
by request of Donovan Preston. In return, he promised to use this
to create a Python OSA component, which would turn Python
into a first-class OSA scripting language (like AppleScript itself).
2003-12-03 22:34:19 +00:00
Jack Jansen 7d0a609e6f An interface to the LaunchServices API. 2003-12-02 23:01:43 +00:00
Gregory P. Smith b845ef056a remove "support" for BerkeleyDB 3.1, it hasn't worked for a long time 2003-11-13 08:30:03 +00:00
Raymond Hettinger b3af1813eb Convert heapq.py to a C implementation. 2003-11-08 10:24:38 +00:00
Andrew M. Kuchling 7883dc8abb [Patch #772077 from Tim Rice] Fix for compiling the readline module on UnixWare; fix goofy comment indent. 2.3 bugfix candidate 2003-10-24 18:26:26 +00:00
Fred Drake 2d59a49212 Provide a bit more information to the compiler when building Expat.
This avoids having to modify the Expat sources in any way starting
with Expat 1.95.7.
2003-10-21 15:41:15 +00:00
Gregory P. Smith 125188cabf Add BerkeleyDB 4.2 to the library search for the bsddb module. 2003-09-22 01:16:48 +00:00
Andrew M. Kuchling 99f3ba1648 Remove possibly-misleading Expat version 2003-09-15 12:27:18 +00:00
Andrew MacIntyre 28df64ac47 patch #764612 - find DB 4.1/4.0/3.x on FreeBSD and systems with similar
installation location policies.
2003-07-10 12:48:39 +00:00
Neal Norwitz 51dead79b5 Convert some repetitive code into a loop 2003-06-17 02:51:28 +00:00
Martin v. Löwis 19d173486b Patch #752671: NetBSD needs to link libintl to _locale.so. 2003-06-14 21:03:05 +00:00
Guido van Rossum 373ef37715 Install the main script for the new IDLE here. 2003-06-13 20:35:11 +00:00
Just van Rossum ebc198faa9 Somehow ColorPicker has never been included or tested under darwin, but it works just fine. 2003-05-24 20:21:50 +00:00
Martin v. Löwis a950f7ff0d Only look for krb5.h if ssl.h was found.
Fixes bug reported in comment to #728322.
2003-05-09 09:05:19 +00:00
Skip Montanaro 50727728b9 set platform properly for OSF/1 2003-05-07 15:38:47 +00:00
Skip Montanaro 9f5178abb7 p.strip(os.sep) can't have possibly worked. It would have stripped both
leading and trailing '/' characters on Unix systems.
2003-05-06 20:59:57 +00:00
Skip Montanaro 22e00c42c0 build bsddb185 module in certain restricted circumstances 2003-05-06 20:43:34 +00:00