[Zope3-checkins] SVN: Zope3/trunk/releases/Zope Began a
windows-specific Zope release
Jim Fulton
jim at zope.com
Mon Jun 13 06:37:24 EDT 2005
Log message for revision 30781:
Began a windows-specific Zope release
Changed:
A Zope3/trunk/releases/Zope-win/
A Zope3/trunk/releases/Zope-win/DEPENDENCIES.cfg
A Zope3/trunk/releases/Zope-win/PUBLICATION.cfg
A Zope3/trunk/releases/Zope-win/SETUP.cfg
A Zope3/trunk/releases/Zope-win/Zope-win-fixup.py
A Zope3/trunk/releases/Zope-win-test.py
U Zope3/trunk/releases/Zope.map
-=-
Added: Zope3/trunk/releases/Zope-win/DEPENDENCIES.cfg
===================================================================
--- Zope3/trunk/releases/Zope-win/DEPENDENCIES.cfg 2005-06-13 01:30:38 UTC (rev 30780)
+++ Zope3/trunk/releases/Zope-win/DEPENDENCIES.cfg 2005-06-13 10:37:24 UTC (rev 30781)
@@ -0,0 +1,3 @@
+
+Zope
+zope.app.winservice
Property changes on: Zope3/trunk/releases/Zope-win/DEPENDENCIES.cfg
___________________________________________________________________
Name: svn:eol-style
+ native
Copied: Zope3/trunk/releases/Zope-win/PUBLICATION.cfg (from rev 30733, Zope3/trunk/releases/Zope/PUBLICATION.cfg)
Copied: Zope3/trunk/releases/Zope-win/SETUP.cfg (from rev 30733, Zope3/trunk/releases/Zope/SETUP.cfg)
===================================================================
--- Zope3/trunk/releases/Zope/SETUP.cfg 2005-06-10 11:52:43 UTC (rev 30733)
+++ Zope3/trunk/releases/Zope-win/SETUP.cfg 2005-06-13 10:37:24 UTC (rev 30781)
@@ -0,0 +1 @@
+script Zope-win-fixup.py
Added: Zope3/trunk/releases/Zope-win/Zope-win-fixup.py
===================================================================
--- Zope3/trunk/releases/Zope-win/Zope-win-fixup.py 2005-06-13 01:30:38 UTC (rev 30780)
+++ Zope3/trunk/releases/Zope-win/Zope-win-fixup.py 2005-06-13 10:37:24 UTC (rev 30781)
@@ -0,0 +1,42 @@
+##############################################################################
+#
+# Copyright (c) 2004 Zope Corporation and Contributors.
+# 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.
+#
+##############################################################################
+"""Complete a windows release
+
+This script does post processing of a windows release
+(and preprocessing of an ununstall of a windows release).
+
+$Id$
+"""
+
+import sys, os
+
+mkzopeinstance_bat = r"""@echo off
+"%s\python.exe" "%s\mkzopeinstance" %%*
+"""
+
+def main(argv=None):
+ if argv is None:
+ argv = sys.argv
+
+ if argv[1] != '-install':
+ return
+
+ scripts = os.path.split(argv[0])[0]
+ install = os.path.split(scripts)[0]
+
+ f = open(os.path.join(scripts, 'mkzopeinstance.bat'), 'w')
+ f.write(mkzopeinstance_bat % (install, scripts))
+
+if __name__ == '__main__':
+ main(sys.argv)
Property changes on: Zope3/trunk/releases/Zope-win/Zope-win-fixup.py
___________________________________________________________________
Name: svn:keywords
+ Id
Name: svn:eol-style
+ native
Copied: Zope3/trunk/releases/Zope-win-test.py (from rev 30733, Zope3/trunk/releases/Zope-test.py)
===================================================================
--- Zope3/trunk/releases/Zope-test.py 2005-06-10 11:52:43 UTC (rev 30733)
+++ Zope3/trunk/releases/Zope-win-test.py 2005-06-13 10:37:24 UTC (rev 30781)
@@ -0,0 +1,22 @@
+
+import os, sys
+
+def do(command):
+ print command
+ if os.system(command):
+ sys.exit(1)
+
+
+do('rm -rf Zope-win-0.0.0*')
+do('../../zpkgtools/bin/zpkg -caCZope.cfg Zope-win')
+do('tar xozf Zope-win-0.0.0.tgz')
+os.chdir('Zope-win-0.0.0')
+do('./configure --prefix `pwd`/z')
+do('make install')
+os.chdir('z')
+do("bin/zopetest '!(ZEO|ZODB|BTrees)'")
+do("bin/mkzopeinstance -d`pwd`/../i -uadmin:123")
+os.chdir('../i')
+do("bin/test")
+
+
Modified: Zope3/trunk/releases/Zope.map
===================================================================
--- Zope3/trunk/releases/Zope.map 2005-06-13 01:30:38 UTC (rev 30780)
+++ Zope3/trunk/releases/Zope.map 2005-06-13 10:37:24 UTC (rev 30781)
@@ -35,6 +35,7 @@
# project; they define what goes into the Zope X3 and related
# releases.
#
+Zope-win ../releases/Zope-win
Zope ../releases/Zope
ZopeInterface ../releases/ZopeInterface
Workflow ../releases/Workflow
More information about the Zope3-Checkins
mailing list