diff options
| author | bwarsaw | 1998-12-22 04:23:31 +0000 |
|---|---|---|
| committer | bwarsaw | 1998-12-22 04:23:31 +0000 |
| commit | 33d02821336f5faacc0d0995e01b03d3f77f5ff0 (patch) | |
| tree | c001777c4a0113b4fdc68b60446d3ca80dfcbce2 | |
| parent | de1c0a3c6cefc0960617175f1a9491221d9defa6 (diff) | |
| download | mailman-33d02821336f5faacc0d0995e01b03d3f77f5ff0.tar.gz mailman-33d02821336f5faacc0d0995e01b03d3f77f5ff0.tar.zst mailman-33d02821336f5faacc0d0995e01b03d3f77f5ff0.zip | |
New infrastructure for alleviating version skew with deployed
Pythons. When Mailman requires a newer version of a standard Python
library than can be required to already be installed, we copy the .py
file to this directory. This makes it easier to remove later when
that version of Python is required.
Other than the standard package and CVS boilerplate, smtplib.py is the
latest almost-Python-1.5.2 version.
| -rw-r--r-- | Mailman/pythonlib/.cvsignore | 3 | ||||
| -rw-r--r-- | Mailman/pythonlib/Makefile.in | 72 | ||||
| -rw-r--r-- | Mailman/pythonlib/__init__.py | 0 |
3 files changed, 75 insertions, 0 deletions
diff --git a/Mailman/pythonlib/.cvsignore b/Mailman/pythonlib/.cvsignore new file mode 100644 index 000000000..4ef7207b0 --- /dev/null +++ b/Mailman/pythonlib/.cvsignore @@ -0,0 +1,3 @@ +Makefile +mm_cfg.py.dist +Defaults.py diff --git a/Mailman/pythonlib/Makefile.in b/Mailman/pythonlib/Makefile.in new file mode 100644 index 000000000..15bcf63b5 --- /dev/null +++ b/Mailman/pythonlib/Makefile.in @@ -0,0 +1,72 @@ +# Copyright (C) 1998 by the Free Software Foundation, Inc. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +# NOTE: Makefile.in is converted into Makefile by the configure script +# in the parent directory. Once configure has run, you can recreate +# the Makefile by running just config.status. + +# Variables set by configure + +VERSION= @VERSION@ + +VPATH= @srcdir@ +srcdir= @srcdir@ +bindir= @bindir@ +prefix= @prefix@ +exec_prefix= @exec_prefix@ + +CC= @CC@ +CHMOD= @CHMOD@ +INSTALL= @INSTALL@ + +DEFS= @DEFS@ + +# Customizable but not set by configure + +OPT= @OPT@ +CFLAGS= $(OPT) $(DEFS) +PACKAGEDIR= $(prefix)/Mailman/pythonlib +SHELL= /bin/sh + +MODULES= *.py +SUBDIRS= + +# Modes for directories and executables created by the install +# process. Default to group-writable directories but +# user-only-writable for executables. +DIRMODE= 775 +EXEMODE= 755 +FILEMODE= 644 +INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE) + + +# Rules + +all: + +install: + for f in $(MODULES); \ + do \ + $(INSTALL) -m $(FILEMODE) $$f $(PACKAGEDIR); \ + done + +finish: + +clean: + +distclean: + -rm Makefile + -rm *.pyc diff --git a/Mailman/pythonlib/__init__.py b/Mailman/pythonlib/__init__.py new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/Mailman/pythonlib/__init__.py |
