Nick Coghlan
c649ec5b69
Apply modified version of Collin Winter's patch #1478788
...
Renames functional extension module to _functools and adds a Python
functools module so that utility functions like update_wrapper can be
added easily.
2006-05-29 12:43:05 +00:00
Ronald Oussoren
39be38c965
- Search the sqlite specific search directories
...
after the normal include directories when looking
for the version of sqlite to use.
- On OSX:
* Extract additional include and link directories
from the CFLAGS and LDFLAGS, if the user has
bothered to specify them we might as wel use them.
* Add '-Wl,-search_paths_first' to the extra_link_args
for readline and sqlite. This makes it possible to
use a static library to override the system provided
dynamic library.
2006-05-26 11:38:39 +00:00
Bob Ippolito
7ccc95a315
patch #1493701 : performance enhancements for struct module
2006-05-23 19:11:34 +00:00
Bob Ippolito
27abce5ba8
revert #1493701
2006-05-23 19:09:51 +00:00
Bob Ippolito
fb8b84af54
Patch #1493701 : performance enhancements for struct module.
2006-05-23 18:46:41 +00:00
Ronald Oussoren
988117fd63
Patch 1471883: --enable-universalsdk on Mac OS X
2006-04-29 11:31:35 +00:00
Thomas Heller
5e218b4454
Rerun the libffi configuration if any of the files used for that
...
are newer then fficonfig.py.
2006-04-27 15:50:42 +00:00
Gerhard Häring
3e99c0ad64
Updated the sqlite3 module to the external pysqlite 2.2.2 version.
2006-04-23 15:24:26 +00:00
Gregory P. Smith
3adc4aa2fb
raise the minimum supported BerkeleyDB version to 3.3 and add notes to
...
news about this and a couple other recent fixes.
2006-04-13 19:19:01 +00:00
Martin v. Löwis
9176fc1466
Patch #1464444 : Add --with-system-ffi.
2006-04-11 11:12:43 +00:00
Anthony Baxter
8220174489
Python on OS X 10.3 and above now uses dlopen() (via dynload_shlib.c)
...
to load extension modules and now provides the dl module. As a result,
sys.setdlopenflags() now works correctly on these systems. (SF patch
#1454844 )
2006-04-09 15:07:40 +00:00
Thomas Heller
795246cf99
Don't try to build ctypes when configuration of libffi fails.
2006-04-07 19:27:56 +00:00
Thomas Heller
eba43c157b
Configure Modules/_ctypes/libffi just before building the _ctypes extension.
...
This avoids configuring it when it is not build by setup.py.
2006-04-07 19:04:09 +00:00
Anthony Baxter
8e7b490890
upgrade to final version of pysqlite 2.2.0
2006-04-05 18:25:33 +00:00
Anthony Baxter
a2a26b9e1f
whitespace normalisation
2006-04-05 17:30:38 +00:00
Anthony Baxter
72289a616c
Update to pysqlite 2.2.0
2006-04-04 06:29:05 +00:00
Matthias Klose
8e39ec78bc
- Patch #360466 : Replace the MD5 implementation from RSA Data Security Inc
...
with the implementation from http://sourceforge.net/projects/libmd5-rfc/ .
2006-04-03 16:27:50 +00:00
Neal Norwitz
3e1ec3aa22
Remove some duplicated code for handling Mac modules. No functional change (intended). Also stoped setting srcdir twice.
2006-04-03 04:52:05 +00:00
Anthony Baxter
3dc6bb3c25
cleaned up setup.py code for sqlite3, based on patch from Gerhard Haering.
2006-04-03 02:20:49 +00:00
Anthony Baxter
07f5b35e19
backport r243 from the pysqlite2 svn repository - lowers the required version
...
of SQLite3 from 3.2.2 to 3.0.8, by providing an alternative to
sqlite3_transfer_bindings. setup.py also handles the common (in debian
and ubuntu, at least) case of a buggy sqlite3.h SQLITE_VERSION_NUMBER.
2006-04-01 08:36:27 +00:00
Anthony Baxter
c51ee69b27
merged the sqlite-integration branch.
...
This is based on pysqlite2.1.3, and provides a DB-API interface in
the standard library. You'll need sqlite 3.2.2 or later to build
this - if you have an earlier version, the C extension module will
not be built.
2006-04-01 00:57:31 +00:00
Ronald Oussoren
090f81588f
Add '-Wno-deprecated-warnings' to the compile flags for the Carbon extensions
...
on OSX 10.4 or later. This stops the compiler for complaining about calls to
deprecated functions in these extensions, they are supposed to wrap as much
of Carbon as possible.
2006-03-30 20:18:33 +00:00
Hye-Shik Chang
6c40359795
Find a source file in srcdir to allow to build outside of srcdir.
2006-03-27 08:43:11 +00:00
Neal Norwitz
10be10cbe7
Remove regsub, reconvert, regex, regex_syntax and everything under lib-old.
2006-03-16 06:50:13 +00:00
Thomas Heller
cf567c1b9c
Changes to build the _ctypes extension module.
...
Based on a patch from Hye-Shik Chang.
2006-03-08 19:51:58 +00:00
Neal Norwitz
6143c547dd
Stop building timing module, it's old and deprecated
2006-03-03 00:48:46 +00:00
Martin v. Löwis
2086eaf79c
Check for a not-found rlconf.h by testing for None.
2006-02-27 15:16:21 +00:00
Jack Jansen
81ae235146
If the readline library is found try and determine whether it's the broken
...
MacOSX 10.4 readline, and don't build the readline module in that case.
2006-02-23 15:02:23 +00:00
Martin v. Löwis
a55e55e9f3
Patch #428494 : Prefer linking against ncursesw over ncurses library
2006-02-11 15:55:14 +00:00
Armin Rigo
a871ef2b3e
Added the cProfile module.
...
Based on lsprof (patch #1212837 ) by Brett Rosen and Ted Czotter.
With further editing by Michael Hudson and myself.
History in svn repo: http://codespeak.net/svn/user/arigo/hack/misc/lsprof
* Module/_lsprof.c is the internal C module, Lib/cProfile.py a wrapper.
* pstats.py updated to display cProfile's caller/callee timings if available.
* setup.py and NEWS updated.
* documentation updates in the profiler section:
- explain the differences between the three profilers that we have now
- profile and cProfile can use a unified documentation, like (c)Pickle
- mention that hotshot is "for specialized usage" now
- removed references to the "old profiler" that no longer exists
* test updates:
- extended test_profile to cover delicate cases like recursion
- added tests for the caller/callee displays
- added test_cProfile, performing the same tests for cProfile
* TO-DO:
- cProfile gives a nicer name to built-in, particularly built-in methods,
which could be backported to profile.
- not tested on Windows recently!
2006-02-08 12:53:56 +00:00
Gregory P. Smith
29602d2153
Support for BerkeleyDB 4.4 (tested against 4.4.20 as well as all the
...
way back thru 3.2). This should be backported to the release24-maint
branch.
2006-01-24 09:46:48 +00:00
Tim Peters
1b27f86411
Whitespace normalization.
2005-12-30 18:42:42 +00:00
Skip Montanaro
0174dddc65
typo, use parens for continued expr
2005-12-30 05:01:26 +00:00
Georg Brandl
e08fa29d0e
Bug #999767 : make setup.py obey Setup.local wrt shared modules
2005-12-27 18:24:27 +00:00
Fredrik Lundh
4c86ec651e
added cElementTree/_elementtree build stuff and wrapper module
2005-12-14 18:46:16 +00:00
Neal Norwitz
8f40171b67
Find bsd db v4 on gentoo (2005 i think)
2005-10-20 05:28:29 +00:00
Gregory P. Smith
ade9733801
Add a check for the OpenSSL version number to conditionally compile
...
the _hashlibopenssl module (>= 0.9.7 required) and to not compile the
sha256 and sha512 modules if OpenSSL >= 0.9.8 is found.
2005-08-23 21:19:40 +00:00
Gregory P. Smith
f21a5f7739
[ sf.net patch # 1121611 ]
...
A new hashlib module to replace the md5 and sha modules. It adds
support for additional secure hashes such as SHA-256 and SHA-512. The
hashlib module uses OpenSSL for fast platform optimized
implementations of algorithms when available. The old md5 and sha
modules still exist as wrappers around hashlib to preserve backwards
compatibility.
2005-08-21 18:45:59 +00:00
Hye-Shik Chang
4e422817eb
Add support for FreeBSD 7.
2005-07-17 02:36:59 +00:00
Martin v. Löwis
d7c795e729
Make parse_makefile fallback to environment variables if nothing is
...
defined in the makefile. Get CFLAGS from the Makefile, instead of
getting OPT, BASE_CFLAGS and EXTRA_CFLAGS individually.
2005-04-25 07:14:03 +00:00
Brett Cannon
4454a1ff84
Fix building of spwd; was incorrectly checking for the needed HAVE_* values to
...
properly build the module.
Also moved up the creation of config_h_vars (from
distutils.sysconfig.parse_config_h()) higher on up in detect_modules() so that
it can be used sooner).
2005-04-15 20:32:39 +00:00
Andrew MacIntyre
953f98d4bd
add support for another DB library naming convention (FreeBSD ports)
2005-03-09 22:21:08 +00:00
Martin v. Löwis
e2713becd8
Build with --disable-unicode again. Fixes #1158607 .
...
Will backport to 2.4.
2005-03-08 15:03:08 +00:00
Raymond Hettinger
9c323f8de4
SF patch #941881 : PEP 309 Implementation (Partial Function Application).
...
Combined efforts of many including Peter Harris, Hye-Shik Chang,
Martin v. Löwis, Nick Coghlan, Paul Moore, and Raymond Hettinger.
2005-02-28 19:39:44 +00:00
Brett Cannon
46d9623875
spwdmodule.c should only be built when either HAVE_GETSPNAM or HAVE_GETSPENT is
...
defined.
2005-02-16 00:07:19 +00:00
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
Martin v. Löwis
e86a59af88
Change 'and' to 'or' in _tkinter test.
2003-05-03 08:45:51 +00:00
Just van Rossum
96f7d875b7
build the new autoGIL module on OSX
2003-05-03 00:27:23 +00:00
Neal Norwitz
816653fccb
SF Feature #: 719429, Get the SSL module to build on RedHat 9.
...
krb5.h is in it's own directory
2003-04-17 22:23:36 +00:00
Martin v. Löwis
7fb697b5d2
Revert Patch #670715 : iconv support.
2003-04-03 04:49:12 +00:00
Neal Norwitz
0b27ff92d2
SF patch #712367 , get build working on AIX
...
configure change is necessary to pass "." to makexp_aix so that
dynamic modules work
setup change gets curses working
2003-03-31 15:53:49 +00:00
Neal Norwitz
718d307df8
Get locale module to build on aix4
2003-03-21 03:08:59 +00:00
Skip Montanaro
ba9e978180
build _csv extension module
2003-03-20 23:34:22 +00:00
Jack Jansen
7a251db9e6
Build the OSATerminology module on MacOSX.
2003-03-06 23:03:43 +00:00
Jack Jansen
d79284843a
_CG module only needs the ApplicationServices framework, not Carbon.
2003-03-02 21:31:51 +00:00
Neal Norwitz
6e2d1c7ab8
Just pointed out the code was better written with
...
try: # ...
except ImportError, why:
except: # ...
All other changes are re-indenting/formatting.
2003-02-28 17:39:42 +00:00
Neal Norwitz
3f5fcc8acc
Fix SF bug #690012 (among others), iconv_codec stops build
...
Change setup.py to catch all exceptions.
- Rename module if the exception was an ImportError
- Only warn if the exception was any other error
Revert _iconv_codec to raising a RuntimeError.
2003-02-28 17:21:39 +00:00
Jack Jansen
9ce623fce5
That fix was bogus, undone. The problem is that the iconv include file
...
is found if you are running fink, but the module doesn't work. For now
I disabled building iconv_codec on darwin.
2003-02-24 12:56:36 +00:00
Jack Jansen
70ec40befa
The test for iconv_incs tested explicitly for None, but [] is returned
...
if the include files cannot be found.
2003-02-24 12:48:58 +00:00
Neal Norwitz
c3bbeb3749
ossaudiodev has been building, so remove unnecessary pass and invalid comment
2003-02-23 21:47:05 +00:00
Guido van Rossum
14ee89c785
Add PEP 301 metadata.
2003-02-20 02:52:04 +00:00
Guido van Rossum
12471d6389
Don't use self.announce() in a function that's not a method.
...
Use level=3 (i.e. log.WARN) for the warnings about failed imports.
(Hmm... Why is that code in an "if 1: ..."? What's the else branch
for?)
2003-02-20 02:11:43 +00:00
Jack Jansen
0feb8c347e
Don't try to build dl on darwin. It doesn't build out of the box, and it
...
wouldn't serve a useful purpose anyway.
2003-02-18 10:24:34 +00:00
Guido van Rossum
0c016a9590
Re-enable compiling ossaudiodev now that it seems to work again.
2003-02-13 16:12:21 +00:00
Guido van Rossum
6c7438e784
Add compilation instructions for xxmodule.c.
2003-02-11 20:05:50 +00:00
Jason Tishler
9181c94e05
This patch reverts the following:
...
It also prevents building against the real X headers, if installed.
After discussions with the Cygwin project lead, I believe that building
against the real X headers is OK. Especially, since the psuedo-X headers
are *not* installed by the Cygwin Tcl/Tk binary package.
2003-02-05 15:16:17 +00:00
Jason Tishler
cccac1a163
This patch enables Cygwin Python to build _tkinter against Tcl/Tk 8.4.
...
Note that this patch just reverts the lib_prefix (i.e., "cyg") portion
of my Tcl/Tk 8.3 patch. It seems that Cygwin Tcl/Tk is using a more
normal file naming convention again.
2003-02-05 15:06:46 +00:00
Neal Norwitz
d156c2d782
Get ossaudiodev to compile on freebsd 4.7
2003-02-02 17:59:06 +00:00
Raymond Hettinger
96ef8115dd
Move itertools module from the sandbox and into production.
2003-02-01 00:10:11 +00:00
Tim Peters
2c60f7a136
Whitespace normalization.
2003-01-29 03:49:43 +00:00
Martin v. Löwis
9789aefa61
Patch #670715 : Universal Unicode Codec for POSIX iconv.
2003-01-26 11:30:36 +00:00
Martin v. Löwis
fc03a94aac
Incorporate Expat 1.95.6.
2003-01-25 22:41:29 +00:00
Guido van Rossum
81d40d6f47
ossaudiodev.c currently gives compilation errors, and Greg doesn't fix
...
it, so disable the build for now.
2003-01-21 21:01:37 +00:00
Greg Ward
0a6355eb1f
Add reminder that ossaudiodev can/should also be built on FreeBSD.
2003-01-08 01:37:41 +00:00
Guido van Rossum
dca3f2f54a
Enable building and testing of ossaudiodev for Linux.
2003-01-08 01:23:01 +00:00
Skip Montanaro
5a47e5ba04
The bsddb3 library does not build w/ Berkeley DB 3.0. 3.1 is the earliest
...
supported version.
2003-01-04 04:06:56 +00:00
Skip Montanaro
decc6a47df
Split OPT make variable into OPT and BASECFLAGS. The latter contains those
...
compiler flags which are necessary to get a clean compile. The former is
for user-specified optimizer, debug, trace fiddling. See patch 640843.
Add /sw/lib and /sw/include to setup.py search paths on Darwin to take
advantage of fink goodies.
Add scriptsinstall target to Makefile to install certain scripts from
Tools/scripts directory.
2003-01-01 20:07:49 +00:00
Jason Tishler
bbe8961698
Patch #660485 : Cygwin _tkinter Tcl/Tk 8.3 patch
...
The attached patch enables Cygwin Python to
build cleanly against the latest Cygwin Tcl/Tk
which is based on Tcl/Tk 8.3. It also prevents
building against the real X headers, if installed.
2002-12-31 20:30:46 +00:00
Barry Warsaw
40819d5515
Search for and use BerkeleyDB 4.1 if it's available. Python's
...
extension module now supports it.
2002-12-30 20:51:12 +00:00
Raymond Hettinger
40f6217092
SF patch 658251: Install a C implementation of the Mersenne Twister as the
...
core generator for random.py.
2002-12-29 23:03:38 +00:00
Jack Jansen
6810f92d4d
The extension module macfs has been replaced by a pure Python version.
2002-12-19 23:27:58 +00:00
Michael W. Hudson
529a505da4
This is J. Lewis Muir's patch:
...
[ 629278 ] install lib-dynload .so files mode 555
fixing
[ 583206 ] lib-dynload/*.so wrong permissions
[ 425007 ] Python 2.1 installs shared libs with mode 0700
Phew.
2002-12-17 16:47:17 +00:00
Guido van Rossum
a29d508ec4
Build the datetime module for *n*x.
2002-12-16 20:31:57 +00:00
Martin v. Löwis
427a290c9a
Patch #629126 : Detect BLT by also looking for libBLT.
2002-12-12 20:23:38 +00:00
Marc-André Lemburg
b28de0d79f
Patch to make _codecs a builtin module. This is necessary since
...
Python 2.3 will support source code encodings which rely on the
builtin codecs being available to the parser.
Remove struct dependency from codecs.py
2002-12-12 17:37:50 +00:00
Martin v. Löwis
a37d61f1d6
Correct db3 /opt/sfw library path. Link ndbm with libc only if ndbm.h
...
is present and libndbm is not. Add runtime libs to dbm if linked against
Berkeley DB.
2002-12-07 14:41:17 +00:00
Martin v. Löwis
05d4d562d7
Search in standard library and include dirs for Sleepycat stuff.
...
Fixes #590377 .
2002-12-06 10:25:02 +00:00
Andrew M. Kuchling
a246d9fefd
[Patch #641685 ] setup.py contained code for finding libraries, instead
...
of using the CCompiler.find_library_file() provided by the Distutils.
This patch fixes it to use the Distutils method at the cost of some
additional glue.
(The duplication resulted in the SSL module not being automatically
built on Macs; the Distutils knew that shared libraries on OS X have a
.dylib extension, but the setup.py code didn't.)
2002-11-27 13:43:46 +00:00
Just van Rossum
05ced6aa76
Don't disable building Mac-specific modules for a non-framework build:
...
whether they crash or not is not a matter of using a framework or not,
but whether the code is run from an app bundle or not. And that it
_can_ crash (instead of tracing back) is Apple's bug anyway, not ours.
2002-11-24 23:15:57 +00:00
Jack Jansen
d0e59fb68d
Added the alias manager too. The interface isn't perfect yet: the alias
...
manager doesn't always have the alias as the first argument, so things
become functions in stead of methods.
2002-11-22 15:53:32 +00:00
Jack Jansen
e2ba87396c
Got angry and added support for pretty much the whole file and folder
...
manager. This should allow us the get rid of most of the FSSpecs, only
navigation services remains to be done.
2002-11-22 14:58:35 +00:00
Martin v. Löwis
21645fc073
Don't try to use unsupported DB versions.
2002-11-19 08:30:08 +00:00
Martin v. Löwis
6aa4a1f29c
Import PyBSDDB 3.4.0. Rename historical wrapper to bsddb185.
2002-11-19 08:09:52 +00:00
Martin v. Löwis
cc40cede7a
Look in db4 directories when checking for db4.
2002-11-09 19:53:04 +00:00
Andrew M. Kuchling
15628fe7bc
Simply delete the fpectl module, instead of leaving it commented out;
...
if people want to compile it, they should edit Modules/Setup, not setup.py
2002-11-08 13:11:50 +00:00
Gustavo Niemeyer
f8ca8364c9
Patch implementing bz2 module.
...
* setup.py
(PyBuildExt.detect_modules): Included bz2 module detection.
* Modules/bz2module.c
* Lib/test/test_bz2.py
* Doc/lib/libbz2.tex
Included files implementing, testing, and documenting bz2 module.
* Doc/Makefile.deps
* Doc/lib/lib.tex
Include references to libbz2.tex.
* Misc/NEWS
(Library): Mention distutils' c++ linkage patch, and new bz2 module.
2002-11-05 16:50:05 +00:00
Guido van Rossum
e0fea6c4ed
[SF bug 620364]
...
In build_extensions(), don't proceed if srcdir is None. Probably
somebody who tried this on Windows. :-)
2002-10-14 20:48:09 +00:00
Guido van Rossum
fa82181436
Disable building of the fpectl module -- it's dangerous or useless
...
except in the hands of experts. Will backport to 2.2.2.
2002-09-25 14:59:57 +00:00
Guido van Rossum
770acd3f7f
Only build the 'dl' extension when sys.maxint equals 2**31-1.
...
This module raises "SystemError: module dl requires sizeof(int) ==
sizeof(long) == sizeof(char*)" when compiled on 64-bit platforms.
2002-09-12 14:41:20 +00:00
Jack Jansen
983258ed7e
Revived the Carbon.Help module, but implementing the MacHelp API in stead
...
of the defunct Balloons API. Help tags are TBD, but at least this gives
us access to the help menu.
2002-08-29 21:09:00 +00:00
Skip Montanaro
ccfdde86eb
Slight reordering of directories searched for BerkDB libs and include files.
...
Push /usr/... further down the list - always check /usr/local/... before
/usr/...
Doubt this will help with http://python.org/sf/589427 or not, but these
changes were prompted by my investigation of that bug report. I wasn't able
to reproduce that problem though
2002-08-15 01:34:38 +00:00