Commit Graph

107 Commits

Author SHA1 Message Date
Guido van Rossum aef734b182 Part of SF patch #102409 by jlt63: Cygwin Python DLL and Shared
Extension Patch.

Note: this could use some testing on NeXT, DG/UX, or BeOS, because of
the changes in the Makefile regarding $(LDLIBRARY).
2001-01-10 21:09:12 +00:00
Guido van Rossum fdddb31f59 For Darwin, export EXE (needed by Lib/plat-generic/regen checkin, to
follow).  Adapted from a patch by Tony Lownds. (#101816)
2000-10-09 19:31:40 +00:00
Fred Drake 047fe99c38 Donn Cave <donn@oz.net>:
Revise BeOS support.

This closes SourceForge patch #101776.
2000-10-09 16:51:49 +00:00
Martin v. Löwis bc1c1c98eb Install xml/parsers, not xml/parser. 2000-09-24 19:57:18 +00:00
Guido van Rossum ff555e383d Address Bug #115057: add a --with-suffix option to set the EXE
variable in the Makefiles from the configure script.  Usefil for
Cygwin and Mac OS X builds.
2000-09-22 15:38:21 +00:00
Guido van Rossum 10912854a2 Sh*t! Should use $(srcdir)/LICENSE of course. 2000-09-05 04:46:32 +00:00
Guido van Rossum cd28b0210f Install LICENSE as LICENSE.txt in the <prefix>/lib/python<version>
directory.
2000-09-05 04:44:48 +00:00
Guido van Rossum 8586991099 REMOVED all CWI, CNRI and BeOpen copyright markings.
This should match the situation in the 1.6b1 tree.
2000-09-01 23:29:29 +00:00
Fred Drake d3b1f11a47 Fix BeOS check in the libainstall target; noted by Mark Favas
<m.favas@per.dem.csiro.au>.
2000-08-31 22:02:46 +00:00
Guido van Rossum b73172f227 "tg@FreeBSD.org" writes:
Our (FreeBSD's) security officer doesn't like
group-writable directories and sent a patch;
don't install *.orig.
2000-08-29 15:00:11 +00:00
Fred Drake b0b7e31709 Rene Liebscher <rliebscher@users.sourceforge.net>:
Install the scripts in the BeOS directory, allowing use from the distutils
on BeOS systems.

The target location has been adjusted to match that used for the AIX
helper scripts.

This closes SourceForge patch #101207.
2000-08-24 18:11:21 +00:00
Sjoerd Mullender 59bb0800df Fix up problems when compiling in a directory other than the source
directory.
2000-08-17 11:38:18 +00:00
Guido van Rossum b16b83534d Whoever added the Makefile rule to auto-build the Grammar didn't have
his build directory in a different place than his source directory.  I
do, and it is supposed to be supported.  The naive patch caused an
endless recursion in the Make process.  This should take care of that.
2000-08-12 14:45:50 +00:00
Thomas Wouters 654698389d 'make' in Grammar too, so graminit.h and graminit.c get re-build when
necessary. Do Grammar after Parser because Grammar needs Parser, and not the
other way 'round. This patch doesn't bother with dependencies because it's
tricky to get right (for instance for the modules that want graminit.h,
like cPickle) and other dependencies are broken to begin with.
2000-08-11 22:26:35 +00:00
Barry Warsaw 29d0a002c8 TESTOPTS: Since gc is enabled by default now (this may change for the
final release), run "make test" with gc's LEAK_DEBUG enabled.  This
uses the new -l flag to regrtest.
2000-08-03 15:52:30 +00:00
Guido van Rossum 251caa5c5b A different solution for Patch #100979: support for out-of-tree "make TAGS"
The version there built the tags and TAGS files in the build
directory.  I like them in the source directory.  The simplest
solution is to cd to the source directory before running ctags or
etags.

Tested both superficially and they work for me, on Linux Red Hat 6.1.
2000-07-31 18:26:35 +00:00
Fred Drake 4b0200e322 libinstall: For the first bytecode compilation pass, use -tt instead of
-t.  This ensures that each installation from source is
             checked for compliance.  This is needed to make sure .py
             files in the various Lib/plat-foo/ directories are tested
             even if the core developers do not have access to the
             corresponding platforms.
2000-07-04 04:15:53 +00:00
Guido van Rossum ef4bb5ffe1 Change copyright notice. 2000-07-01 00:16:13 +00:00
Barry Warsaw 6de7213e7a Setup.thread => Setup.config 2000-06-30 16:04:18 +00:00
Fred Drake 4247ba63bd Martin von Löwis <loewis@informatik.hu-berlin.de>:
Do not forget to install the xml packages!
2000-06-30 15:46:08 +00:00
Andrew M. Kuchling e53903c675 Install the contents of the Lib/curses directory 2000-06-10 23:08:21 +00:00
Guido van Rossum 0f7bd3ce9f Added site-packages. (Sorry, forgot who submitted this patch.) 2000-04-24 14:57:21 +00:00
Guido van Rossum 5d35bf9853 Added distutils and distutils/command to LIBSUBDIRS. Noted by Andrew
Kuchling.
2000-03-31 15:13:17 +00:00
Guido van Rossum 570575b1ee Added encodings to the LIBSUBDIRS variable, so that they get installed.
Noted by Michael Hudson.
2000-03-13 15:22:27 +00:00
Guido van Rossum 048e6103f2 Drop the support level for stdwin a notch -- the contents of
lib-stdwin is no longer installed.

Increase the support level for other obsolete modules a bit: install
lib-old by default.  It still isn't in the path by default, but at
least it's easier to add to your $PYTHONPATH this way.  (This makes
sense because in 1.6 we're much more aggressive with declaring modules
obsolete.)
2000-02-28 19:52:53 +00:00
Fred Drake 9abc25e4b5 Enable -t when compiling Python library modules in libinstall (.pyc
version only).

Enable -tt for the regression test.

Very similar to Skip's patch.
2000-02-10 17:23:44 +00:00
Guido van Rossum bcb393f2b2 The 'test' target ought to depend on 'all', not just on python$(EXE)
-- otherwise shared libraries might not be rebuilt.
1999-11-16 15:58:32 +00:00
Guido van Rossum 717d1fdf2a 1. Augment the DG/UX rule so it doesn't break the BeOS build.
2. Add $(EXE) to various occurrences of python so it will work on
   Cygwin with egcs (after setting EXE=.exe).  These patches by
   Norman Vine.
1999-02-23 15:43:15 +00:00
Guido van Rossum 54ecc3d24f Patches by William Lewis for Nextstep descendants. 1999-01-27 17:53:11 +00:00
Guido van Rossum 7a5f420e67 Chris Herborth's first pass at making config and install
for BeOS better.
1999-01-12 20:30:23 +00:00
Guido van Rossum 2a570049ac Changes to deal with the sigcheck+intrcheck vs. signalmodule controversy. 1998-10-07 22:51:56 +00:00
Guido van Rossum 370a0837d1 Correctly add dependencies and build rules for Modules/python.o. 1998-10-01 16:42:41 +00:00
Guido van Rossum ec95c7bd2b Changes for BeOS, QNX and long long, by Chris Herborth. 1998-08-04 17:59:56 +00:00
Guido van Rossum 15527e98cd Protection agains non-existing subdirectories for clean and clobber
targets.  On some platforms this would cause an infinite Make
recursion.  Also remove "Doc" from the SUBDIRSTOO variable, since it
no longer exists in the standard distribution.
1998-05-19 21:15:03 +00:00
Guido van Rossum a58153e8bf Avoid using cut; sed can do this just as well... 1998-05-05 20:40:18 +00:00
Guido van Rossum 69f65801ab Misc changes for AIX: install the python.exp file, and properly use $(srcdir). 1998-03-03 21:47:00 +00:00
Guido van Rossum 414f261166 Revert to the old (indented) form of @DGUX_IS_BROKEN@. 1998-02-19 21:33:13 +00:00
Guido van Rossum 8f006272fe Some shifting around of the DGUX hack so that it won't break on DEC Unix
where Make doesn't know that '#' as a command is a comment.
1998-01-13 19:03:09 +00:00
Guido van Rossum 8b0d95f06e Oops, tiny fix for the DGUX rule when installing -- don't fail when
libpython$(VERSION).so doesn't exist.
1997-12-19 23:02:22 +00:00
Guido van Rossum 3c4bb802d0 Patch by Brian Gallew for DG/UX. I'm not quite sure what it does but
it seems harmless for other platforms.  It plays tricks with the name
of the library used to link with.  Apparently DG/UX really wants a
shared library to link with if it wants shared modules to use symbols
from the library.  I'm not sure why this wasn't an issue with 1.4;
DG/UX seems to be the only platform where moving to a single library
made things harder!

BTW This adds a target to create libpython$(VERSION).so; however this
target is *only* for DG/UX.
1997-12-18 23:55:32 +00:00
Fred Drake fc5d8b198a libainstall: Install Modules/Setup.thread in addition to Modules/Setup and
Modules/Setup.local.

	Guido:  I hope this is ok; it seems to make a lot of sense to get the
	whole trio of module config files installed as a set rather than
	doing it partially.
1997-12-09 15:18:33 +00:00
Guido van Rossum 8e29a59b39 Skip directories when installing library files; this avoids problems
when test/output is found (/usr/bin/install chokes on this; no idea
why install-sh doesn't).
1997-12-02 19:18:27 +00:00
Guido van Rossum 6cedf82ac1 Make modes for installed files and directories variables; change the
default for directories (not for files!) to be group writable.
1997-12-02 17:52:37 +00:00
Guido van Rossum c9fd600640 Suggestion by David Ascher: set EXE macro to empty string and use it
in a few places -- so it can be set to .exe on GNUWIN32 platforms and
do the right thing.  Whatever.  (This was already done in
Modules/Makefile* but wasn't carried over here.)
1997-11-11 18:29:22 +00:00
Guido van Rossum e475d86bd9 Install Misc/Makefile.pre.in in the config/ install directory.
Suggestion by Konrad Hinsen.
1997-10-29 19:07:30 +00:00
Guido van Rossum cf809d6e48 Rename sharedmodules to lib-dynload.
Treat .pyo files like .pyc files.
1997-10-20 23:16:32 +00:00
Guido van Rossum 86b7db3750 Oops -- needed to fix another place affected by the change back to
$(MACHDEP) being just the platform name, without "plat-" prefix...
(To be precise, the libainstall target was totally broken.)
1997-10-06 00:15:31 +00:00
Guido van Rossum d99d714ac9 Install install-sh with the other config files.
Could be useful for an install target in Misc/Makefile.pre.in.
1997-10-04 04:35:24 +00:00
Guido van Rossum abffd00502 Install config.h under $exec_prefix/include rather than $exec_prefix/lib. 1997-09-11 14:37:59 +00:00
Guido van Rossum 6d911018f7 #Oops, missed a plat- prefix (for Lib/generic). 1997-09-08 02:31:17 +00:00