Commit e88a4733 authored by Hanno Schlichting's avatar Hanno Schlichting

Removed Zope2's own mkzeoinstance script in favor of the version from the new...

Removed Zope2's own mkzeoinstance script in favor of the version from the new zope.mkzeoinstance package.
parent 88d5bf04
...@@ -8,6 +8,12 @@ http://docs.zope.org/zope2/releases/. ...@@ -8,6 +8,12 @@ http://docs.zope.org/zope2/releases/.
2.12.6 (unreleased) 2.12.6 (unreleased)
------------------- -------------------
Restructuring
+++++++++++++
- Removed Zope2's own mkzeoinstance script in favor of the version from the
new zope.mkzeoinstance package.
Features Added Features Added
++++++++++++++ ++++++++++++++
......
...@@ -91,6 +91,7 @@ setup(name='Zope2', ...@@ -91,6 +91,7 @@ setup(name='Zope2',
'zope.interface', 'zope.interface',
'zope.lifecycleevent', 'zope.lifecycleevent',
'zope.location', 'zope.location',
'zope.mkzeoinstance',
'zope.pagetemplate', 'zope.pagetemplate',
'zope.processlifetime', 'zope.processlifetime',
'zope.proxy', 'zope.proxy',
...@@ -117,7 +118,7 @@ setup(name='Zope2', ...@@ -117,7 +118,7 @@ setup(name='Zope2',
zip_safe=False, zip_safe=False,
entry_points={ entry_points={
'console_scripts': [ 'console_scripts': [
'mkzeoinstance=Zope2.utilities.mkzeoinstance:main', 'mkzeoinstance=zope.mkzeoinstance:main',
'mkzopeinstance=Zope2.utilities.mkzopeinstance:main', 'mkzopeinstance=Zope2.utilities.mkzopeinstance:main',
'runzope=Zope2.Startup.run:run', 'runzope=Zope2.Startup.run:run',
'zopectl=Zope2.Startup.zopectl:run', 'zopectl=Zope2.Startup.zopectl:run',
......
##############################################################################
#
# Copyright (c) 2002 Zope Foundation and Contributors.
#
# 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.
#
##############################################################################
import os
import sys
mydir = os.path.dirname(os.path.abspath(sys.argv[0]))
zopehome = os.path.dirname(mydir)
softwarehome = os.path.join(zopehome, "lib", "python")
if softwarehome not in sys.path:
sys.path.insert(0, softwarehome)
from ZEO.mkzeoinst import ZEOInstanceBuilder
def main():
ZEOInstanceBuilder().run()
if __name__ == "__main__":
main()
...@@ -120,6 +120,7 @@ zope.keyreference = 3.6.2 ...@@ -120,6 +120,7 @@ zope.keyreference = 3.6.2
zope.lifecycleevent = 3.6.1 zope.lifecycleevent = 3.6.1
zope.location = 3.6.0 zope.location = 3.6.0
zope.minmax = 1.1.2 zope.minmax = 1.1.2
zope.mkzeoinstance = 3.9.4
zope.modulealias = 3.4.0 zope.modulealias = 3.4.0
zope.pagetemplate = 3.5.1 zope.pagetemplate = 3.5.1
zope.password = 3.5.1 zope.password = 3.5.1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment