From 33d02821336f5faacc0d0995e01b03d3f77f5ff0 Mon Sep 17 00:00:00 2001 From: bwarsaw Date: Tue, 22 Dec 1998 04:23:31 +0000 Subject: 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. --- Mailman/pythonlib/.cvsignore | 3 ++ Mailman/pythonlib/Makefile.in | 72 +++++++++++++++++++++++++++++++++++++++++++ Mailman/pythonlib/__init__.py | 0 3 files changed, 75 insertions(+) create mode 100644 Mailman/pythonlib/.cvsignore create mode 100644 Mailman/pythonlib/Makefile.in create mode 100644 Mailman/pythonlib/__init__.py (limited to 'Mailman/pythonlib') 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 -- cgit v1.3.1