Michael W. Hudson
af14289c54
Fix for
...
[ #433775 ] module build dir first in test import
though not in the way the summary would suggest; use imp.load_dynamic()
in setup.py to ensure we're testing the dynamic object we think we are.
2002-01-23 15:07:46 +00:00
Michael W. Hudson
5b10910d7a
Sjoerd Mullender pointed out that setup.py contained some tabs,
...
so I threw reindent.py at it and look what happened!
Did setup.py escape Tim's regular whitespace normalizations?
2002-01-23 15:04:41 +00:00
Jack Jansen
796720b314
Mac _Scrap module is now carbon-compliant, so build it on OSX.
2002-01-21 23:10:36 +00:00
Michael W. Hudson
39230b3230
Apply a variant of patch
...
[ #420565 ] makes setup.py search sys.prefix
I think this also fixes some bug in the tracker about not searching
directories that don't exist, but I can't find the report :(
2002-01-16 15:26:48 +00:00
Martin v. Löwis
93227275dc
Patch #497126 : Always compile dl.
2002-01-01 20:18:30 +00:00
Guido van Rossum
8efd6ceecc
Update comments about mpz, pointing to gmpy and mxNumber rather than
...
to the non-existing pympz (did that ever exist?).
2001-12-17 17:24:43 +00:00
Just van Rossum
e9039b1742
build CoreGraphics under darwin
2001-12-13 13:41:36 +00:00
Jack Jansen
dd67a8ed2c
Build _CarbonEvt module on Mac OS X. Still gives a couple of warnings
...
but compiles OK.
2001-12-12 23:03:17 +00:00
Jack Jansen
edeea04bfd
Mods to make WASTE module compile and link for MachoPython. Not tested
...
any further, yet.
2001-12-09 23:08:54 +00:00
Fred Drake
9028d0a525
Visious hackery to solve a build-control problem related to our use of
...
distutils for the library modules built as shared objects. A better solution
appears possible, but with the threat that the distutils becomes more
magical ("complex").
This closes SF bug #458343 .
2001-12-06 22:59:54 +00:00
Fred Drake
38419c003c
Wrap some long lines.
2001-12-06 22:24:47 +00:00
Andrew M. Kuchling
e7ffbb24e8
[Bug #480882 ] Remove now-pointless check for existence for _curses_panel.c;
...
Bugfix candidate.
2001-12-06 15:57:16 +00:00
Jack Jansen
244e761fbf
As of OS X 10.1.1 the version numbering scheme has changed. Convert all "darwin*" to "darwin" and use that for testing.
2001-12-05 15:54:29 +00:00
Martin v. Löwis
f5c7677602
Support bsddb 3.2. Fixes #483653 .
2001-11-24 09:28:42 +00:00
Jack Jansen
f49c6f9954
The import check in setup.py fails on Mac OS X for Carbon-based modules
...
if you are not building while logged in to the console (you cannot
connect to the window server, so the Carbon library doesn't initialize).
Added a quick hack to skip the import test, with a warning, for modules
linked against Carbon.
2001-11-01 14:44:15 +00:00
Jack Jansen
666b1e7e2f
Link the core with CoreServices, not with Carbon, and don't use any Carbon
...
routines. As of 10.1 using Carbon will crash Python if no window server is
available (ssh connection, console mode, MacOSX Server). This fixes bug
#466907 .
A result of this mod is that the default 8bit encoding on OSX is now ASCII,
for the time being. Also, the extension modules that need the Carbon
framework now explicitly include it in setup.py.
2001-10-31 12:11:48 +00:00
Neil Schemenauer
c3ffef6666
- Build dbm module using libdb1 if it's available. This fixes SF bug "[
...
#230075 ] dbmmodule build fails on Debian GNU/Linux unstable (Sid)".
- Build bsddb module with libdb3 if it's available. It also fixes a bug that
causes the build of bsddb to fail on Debian if bsddb3-dev is installed.
2001-10-21 22:14:44 +00:00
Jeremy Hylton
a25d995ab0
The Python symtable module depends on .h files that setup.py doesn't track.
2001-10-17 13:46:44 +00:00
Fred Drake
3a40f32aa6
Add entry for HotShot.
2001-10-12 21:00:48 +00:00
Martin v. Löwis
2f20dab9c1
Do not add -shared to linker_so. Any necessary options should already be
...
in LDSHARED.
2001-10-08 13:18:37 +00:00
Greg Ward
57fc21018f
Fix a spelling error that has been bugging me for longer than I care to admit.
2001-10-03 19:59:30 +00:00
Andrew M. Kuchling
89fb72dd76
[Patch #462258 ] On Cygwin, don't build Tkinter unless the X header files
...
can be found.
2001-09-18 20:32:13 +00:00
Andrew M. Kuchling
fda3c3ddae
[Patch #462255 , from Jason Tishler] Re-enables building the resouce
...
module on the Cygwin platform.
2001-09-17 16:19:16 +00:00
Greg Ward
02fac83ba1
Comment tweak: point to Robin Dunn's pybsddb project on SourceForge.
2001-09-13 15:05:08 +00:00
Jack Jansen
2f760c35e2
On MacOSX built the toolbox extension modules iff we're building with
...
--enable-framework.
Some modules that are also useful outside a fullblown application are
always built.
2001-09-04 21:33:12 +00:00
Jack Jansen
4ca5f38f46
Disabled _curses modules on MacOSX. The curses version is a 1994 BSD
...
curses, far too old for _cursesmodule.c.
2001-09-04 09:05:11 +00:00
Barry Warsaw
60f018846d
Merge changes from r22a2-branch back into trunk. Also, change patch
...
level to 2.2a2+
2001-08-22 19:24:42 +00:00
Skip Montanaro
e81f447800
This is supposed to help configure better sort out the various libdb
...
incarnations. It's probably not quite sufficient, but should be better than
the status quo...
2001-08-21 04:23:21 +00:00
Martin v. Löwis
339d0f720e
Patch #445762 : Support --disable-unicode
...
- Do not compile unicodeobject, unicodectype, and unicodedata if Unicode is disabled
- check for Py_USING_UNICODE in all places that use Unicode functions
- disables unicode literals, and the builtin functions
- add the types.StringTypes list
- remove Unicode literals from most tests.
2001-08-17 18:39:25 +00:00
Andrew M. Kuchling
5aa3c4af76
Link readline module with ncurses in preference to termcap. [Bug ##441580]
...
Remove pointless comment
2001-08-16 20:30:18 +00:00
Jack Jansen
df82e58cd5
On OSX we should not pass the -shared option to ld: it make the build
...
of audioop and cmath fail. Removing it seems to have no adverse consequences.
Closes bug #450510 .
2001-08-15 13:17:45 +00:00
Martin v. Löwis
3e4b0e800b
Get OPT from the environment to build the CCSHARED command.
...
Fixes the problem reported in bug #438786 .
2001-08-10 08:56:17 +00:00
Jack Jansen
194e13c945
Commented out most of the MacPython modules. There is a discussion on the
...
pythonmac-sig about turning this all into a package, so in the mean time
there is no reason to scribble all over people's disks. Interested parties
can uncomment them.
2001-08-08 00:36:53 +00:00
Jack Jansen
144ebcc444
Replace moddir and incdir by
...
moddirlist and incdirlist, lists of source and include
directories that are searched for modules.
This is needed because the Mac modules and include files
live in the Mac subtree.
In addition (and that's actually what the mod is all about) on OSX we build all the Mac extension modules.
2001-08-05 22:31:19 +00:00
Tim Peters
76f373d081
Repair more now-obsolete references to config.h.
2001-07-26 21:34:59 +00:00
Martin v. Löwis
3db5b8cc76
Patch #443669 : Permit _tkinter to build on cygwin32.
2001-07-24 06:54:01 +00:00
Andrew M. Kuchling
9eb27a89d8
Fix bug #437487 : "2.1 build on Solaris fails if CC is set"
...
by adding the contents of CCSHARED to the compiler specified by CC
2001-07-14 20:28:10 +00:00
Andrew M. Kuchling
6268669612
Patch #411055 from MvL: import each extension after building it, and
...
delete ones that can't be imported due to missing symbols or other
causes.
2001-05-21 20:48:09 +00:00
Andrew M. Kuchling
185bd6fc76
Trim out some cruft
2001-05-21 20:44:48 +00:00
Andrew M. Kuchling
f52d27e52d
Fix bug #232619 : fix misleading warning on installing to lib-dynload
2001-05-21 20:29:27 +00:00
Guido van Rossum
e697091c45
Patch by Mark Favas to ensure that the zlib we find is 1.1.3 or
...
later. This assumes that zlib.h has a line of the form
#define ZLIB_VERSION "1.1.3"
This solves the problem where a zlib installation is found but it is
an older version -- this would break the build, while a better
solution is to simply ignore that zlib installation.
2001-04-15 15:16:12 +00:00
Martin v. Löwis
b1d196927a
Remove Tix detection from Tkinter part; lib-tk/Tix attempts to load Tix
...
by requiring it. Also remove commentary from Setup.dist about commenting
in and out stuff.
2001-03-21 07:44:53 +00:00
Andrew M. Kuchling
9b5abcd48c
Tidy up the ordering of include and library directories, putting
...
/usr/local first and leaving /usr/include at the end. This addresses
the comments in bug #232609 .
2001-03-17 16:56:35 +00:00
Andrew M. Kuchling
5dfa13719f
Disable the dl module
2001-03-02 06:24:14 +00:00
Andrew M. Kuchling
3da989c6bc
Fix for bug #405007 : prefix subdir to scripts in order to build in
...
a subdirectory.
2001-02-28 22:49:26 +00:00
Andrew M. Kuchling
aece4270b1
Install the pydoc script
2001-02-28 20:56:49 +00:00
Andrew M. Kuchling
b69c758f3b
Fix for bug #404875 : fix typo in setup.py
2001-02-28 19:49:57 +00:00
Andrew M. Kuchling
6efc6e7832
Patch #404680 : disables the nis module and enables the dl module when
...
building under Cygwin. Makes some fixes to the dlmodule in order to
compile with Cygwin.
2001-02-27 20:54:23 +00:00
Andrew M. Kuchling
8d7f0869ee
Patch #103899 : Don't compile modules configured in Setup. This seems much
...
simpler than adding a bazillion switches, but means that the makesetup
method probably can't ever go away completely. Oh well...
2001-02-23 16:32:32 +00:00
Andrew M. Kuchling
e06337a928
Patch #103937 : Attempt to get the BSDDB autodetection right (or at least
...
less wrong)
2001-02-23 16:27:48 +00:00
Andrew M. Kuchling
cf393f3fd9
Patch #103544 : always compile the dl and nis modules on Unix; let's see
...
where they break.
2001-02-21 02:38:24 +00:00
Andrew M. Kuchling
3c044942ab
BeOS doesn't have a libm.a, either; noted by Donn Cave
2001-02-06 23:37:23 +00:00
Andrew M. Kuchling
3cbdbfbf9c
Part of patch #103544 : fix detection of BSDDB on BSD systems
2001-02-06 22:26:30 +00:00
Andrew M. Kuchling
9a3fd8c82f
Patch #103578 ] _tkinter build fix for he current Debian unstable tcl/tk 8.3
...
packages
2001-02-06 22:15:27 +00:00
Tim Peters
d66595fe42
Renamed _testXXX to _testcapiXXX. Jack is my hero -- good call!
2001-02-04 03:09:53 +00:00
Jeremy Hylton
5e7cb240af
Add minimal interface to symtable: _symtable module.
2001-02-02 18:24:26 +00:00
Marc-André Lemburg
261b8e26f1
Whitespace correction...
2001-02-02 12:12:44 +00:00
Marc-André Lemburg
bc7cbcbc8f
Added new Python C API _test module to the build mechanism on Unix.
2001-02-02 12:07:22 +00:00
Fred Drake
2de7471d69
Add entries for the weakref module to the build control.
2001-02-01 05:26:54 +00:00
Andrew M. Kuchling
66012fe889
Remove unused import of 'string'
...
Add header comment and __version__
2001-01-26 21:56:58 +00:00
Marc-André Lemburg
2efc3238d7
Be extra careful with linking against libtermcap. This is now only done
...
if we can find the libtermcap in the usual places. Some platforms don't
have libtermcap, e.g. MacOSX.
2001-01-26 18:23:02 +00:00
Marc-André Lemburg
7c6fcda7bf
Fixed setup.py to allow:
...
1. skipping of extensions which cause an error (a warning message
is written to stdout, but the build process no longer fails
completely)
2. the readline extension to compile on SuSE Linux (and probably
other platforms too) by adding /usr/lib/termcap to the library search
path
2001-01-26 18:03:24 +00:00
Neil Schemenauer
726b78ecb8
Patch from Andrew to properly set module source directory.
2001-01-24 17:18:21 +00:00
Fredrik Lundh
ade711a5c3
the ucnhash module is no longer used
2001-01-24 08:00:28 +00:00
Andrew M. Kuchling
34febf5e92
Modified version of part of patch #102409 for Cygwin:
...
Get platform-specific modules right on Cygwin
Getting a string value for the platform has been factored out into
get_platform()
2001-01-24 03:31:07 +00:00
Andrew M. Kuchling
5ddb25f36f
Fix for MacOS X/Darwin: it doesn't need -lm, ever. (Noted by Steven Majewski)
2001-01-23 22:21:11 +00:00
Marc-André Lemburg
14970bea8f
unicodedatabase.c is no longer needed thanks to Fredrik's patches.
2001-01-22 10:38:27 +00:00
Martin v. Löwis
1ab29b2d3c
Check for None to decide when pyexpat should not be built.
2001-01-21 10:54:52 +00:00
Andrew M. Kuchling
e7c87327b3
GvR pointed out the correct way to check for statically built modules;
...
sys.builtin_module_names
Add SSL directories in /usr/contrib/ for FreeBSD
2001-01-19 16:58:21 +00:00
Andrew M. Kuchling
e3d6e41d81
Revert a single line of my large change earlier today; this broke the ability
...
to build in a subdirectory. The additional directory is unfortunately
redundant when *not* building in a subdirectory, which is why I took
it out.
2001-01-19 02:50:34 +00:00
Andrew M. Kuchling
5bbc7b9283
Patch from Barry: gets rid of two unused imports,
...
wraps to 80chars, and adds some really hacky setting of compiler
options when CC and LDSHARED are given on the make command line.
(The Distutils should probably provide a utility function to
automatically handle a number of common environment variables)
2001-01-18 20:39:34 +00:00
Andrew M. Kuchling
fbe73769a4
Sizable reorganization of how header and library files are found
...
Check additional include directories for SSL
Don't build modules that are linked into the Python binary statically
Factored out the detection of Tkinter out into a method, since it's
the most complicated module to set up
Simplify the logic for detecting Tkinter
2001-01-18 18:44:20 +00:00
Andrew M. Kuchling
6425efe9ae
The signal module has to be compiled statically, so add it to Setup.dist
...
and remove support for it from setup.py
2001-01-17 22:17:16 +00:00
Neil Schemenauer
e7e2ece979
- compile struct module
...
- get version number from sys.version_info
2001-01-17 21:58:00 +00:00
Andrew M. Kuchling
a99202a017
Fix for bug #129173 , reported by Skip Montanaro:
...
Check for the two possible headers for Expat, expat.h and xmlparse.h,
and only compile the pyexpat module if one of them is found.
2001-01-17 20:51:18 +00:00
Andrew M. Kuchling
4f9e9432a8
Use the extended library search path when looking for readline (simple
...
oversight in using self.compiler.library_dirs)
2001-01-17 20:20:44 +00:00
Andrew M. Kuchling
d5c43065d5
Various clean-ups:
...
* Uncomment the xreadlines module
* The Tcl/Tk detection code doesn't need to worry about pre-8.0 versions
* Fix some debugging changes (not running ar, a commented-out line)
2001-01-17 15:59:25 +00:00
Andrew M. Kuchling
00e0f21be8
[Patch #102588/PEP 229]:
...
Check in the setup.py script, and the setup.cfg.in file, which
handle compiling and installing as many extension modules as possible
2001-01-17 15:23:23 +00:00