Commit Graph

77 Commits

Author SHA1 Message Date
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