[z3-checkins] r10823 - z3/modzope/trunk
philikon at codespeak.net
philikon at codespeak.net
Mon Apr 18 20:34:18 MEST 2005
Author: philikon
Date: Mon Apr 18 20:34:18 2005
New Revision: 10823
Added:
z3/modzope/trunk/setup.py (contents, props changed)
Modified:
z3/modzope/trunk/INSTALL.txt
Log:
distutils-like setup
Modified: z3/modzope/trunk/INSTALL.txt
==============================================================================
--- z3/modzope/trunk/INSTALL.txt (original)
+++ z3/modzope/trunk/INSTALL.txt Mon Apr 18 20:34:18 2005
@@ -50,8 +50,18 @@
------------------
First, create a regular Zope 3 instance using the ``mkinstance``
-script. Then install the ``modzope`` package into that instance's
-``lib/python`` directory.
+script. Then install modzope into that instance through the regular
+distutils routine::
+
+ $ python setup.py install.py --home $INSTANCE
+
+where $INSTANCE is your Zope 3 instance directory. This will copy the
+``modzope`` and ``wsgiref`` packages to the instance's ``lib/python``
+directory. Alternatively, you can specify any other installation path
+or even none (in which case both packages will be installed in the
+interpreter's ``site-packages`` location), as long as you make sure
+that this path is inside the Apache interpreter's search path (see
+``apache2.conf``).
Like the regular Zope instance, modzope also has a configuration file
(``modzope.conf``) that doesn't include any server settings, though.
Added: z3/modzope/trunk/setup.py
==============================================================================
--- (empty file)
+++ z3/modzope/trunk/setup.py Mon Apr 18 20:34:18 2005
@@ -0,0 +1,31 @@
+##############################################################################
+#
+# Copyright (c) 2005 Philipp "philiKON" von Weitershausen
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+"""Installation script
+
+$Id$
+"""
+from distutils.core import setup
+
+setup(
+ name="modzope",
+ version="development",
+ description="Run a Zope 3 instance within Apache using mod_python.",
+ maintainer="Philipp von Weitershausen",
+ maintainer_email="philikon at philikon.de",
+ license="ZPL 2.1",
+ url="http://codespeak.net/z3/modzope",
+ platforms = ['any'],
+ packages = ['modzope', 'wsgiref'],
+ package_dir = {'': 'src'},
+)
More information about the z3-checkins
mailing list