zope.applicationcontrol-3.5.5/0000755000175000017500000000000011322114373016223 5ustar faassenfaassenzope.applicationcontrol-3.5.5/test.py0000644000175000017500000000237011322114226017553 0ustar faassenfaassen#!/usr/bin/env python ############################################################################## # # Copyright (c) 2006 Zope Corporation and Contributors. # All Rights Reserved. # # This software is subject to the provisions of the Zope Public License, # Version 2.0 (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. # ############################################################################## """Sample test script using zope.testing.testrunner see zope.testing testrunner.txt $Id: test.py 70876 2006-10-22 07:42:56Z baijum $ """ import os, sys here = os.path.abspath(os.path.dirname(sys.argv[0])) # Remove this directory from path: sys.path[:] = [p for p in sys.path if os.path.abspath(p) != here] src = os.path.join(here, 'src') sys.path.insert(0, src) # put at beginning to avoid one in site_packages from zope.testing import testrunner defaults = [ '--path', src, '--package', 'zope.app.applicationcontrol', '--tests-pattern', '^f?tests$', ] sys.exit(testrunner.run(defaults)) zope.applicationcontrol-3.5.5/setup.cfg0000644000175000017500000000007311322114373020044 0ustar faassenfaassen[egg_info] tag_build = tag_date = 0 tag_svn_revision = 0 zope.applicationcontrol-3.5.5/bootstrap.py0000644000175000017500000000337011322114226020612 0ustar faassenfaassen############################################################################## # # Copyright (c) 2006 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. # ############################################################################## """Bootstrap a buildout-based project Simply run this script in a directory containing a buildout.cfg. The script accepts buildout command-line options, so you can use the -c option to specify an alternate configuration file. $Id: bootstrap.py 73537 2007-03-25 08:21:16Z dobe $ """ import os, shutil, sys, tempfile, urllib2 tmpeggs = tempfile.mkdtemp() ez = {} exec urllib2.urlopen('http://peak.telecommunity.com/dist/ez_setup.py' ).read() in ez ez['use_setuptools'](to_dir=tmpeggs, download_delay=0) import pkg_resources cmd = 'from setuptools.command.easy_install import main; main()' if sys.platform == 'win32': cmd = '"%s"' % cmd # work around spawn lamosity on windows ws = pkg_resources.working_set assert os.spawnle( os.P_WAIT, sys.executable, sys.executable, '-c', cmd, '-mqNxd', tmpeggs, 'zc.buildout', dict(os.environ, PYTHONPATH= ws.find(pkg_resources.Requirement.parse('setuptools')).location ), ) == 0 ws.add_entry(tmpeggs) ws.require('zc.buildout') import zc.buildout.buildout zc.buildout.buildout.main(sys.argv[1:] + ['bootstrap']) shutil.rmtree(tmpeggs) zope.applicationcontrol-3.5.5/buildout.cfg0000644000175000017500000000016111322114226020526 0ustar faassenfaassen[buildout] develop = . parts = test [test] recipe = zc.recipe.testrunner eggs = zope.applicationcontrol [test] zope.applicationcontrol-3.5.5/src/0000755000175000017500000000000011322114373017012 5ustar faassenfaassenzope.applicationcontrol-3.5.5/src/zope/0000755000175000017500000000000011322114373017767 5ustar faassenfaassenzope.applicationcontrol-3.5.5/src/zope/__init__.py0000644000175000017500000000031011322114226022067 0ustar faassenfaassen# this is a namespace package try: import pkg_resources pkg_resources.declare_namespace(__name__) except ImportError: import pkgutil __path__ = pkgutil.extend_path(__path__, __name__) zope.applicationcontrol-3.5.5/src/zope/applicationcontrol/0000755000175000017500000000000011322114373023673 5ustar faassenfaassenzope.applicationcontrol-3.5.5/src/zope/applicationcontrol/tests/0000755000175000017500000000000011322114373025035 5ustar faassenfaassenzope.applicationcontrol-3.5.5/src/zope/applicationcontrol/tests/test_runtimeinfo.py0000644000175000017500000000774611322114225031017 0ustar faassenfaassen############################################################################## # # Copyright (c) 2001, 2002 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. ############################################################################## """Runtime Info Tests $Id: test_runtimeinfo.py 107931 2010-01-09 14:42:28Z faassen $ """ import unittest import os, sys, time try: import locale except ImportError: locale = None from zope import component from zope.interface import implements from zope.interface.verify import verifyObject from zope.applicationcontrol.applicationcontrol import applicationController from zope.applicationcontrol.interfaces import IRuntimeInfo, IZopeVersion # seconds, time values may differ in order to be assumed equal time_tolerance = 2 stupid_version_string = "3085t0klvn93850voids" class TestZopeVersion(object): """A fallback implementation for the ZopeVersion utility.""" implements(IZopeVersion) def getZopeVersion(self): return stupid_version_string class Test(unittest.TestCase): def _Test__new(self): from zope.applicationcontrol.runtimeinfo import RuntimeInfo return RuntimeInfo(applicationController) def _getPreferredEncoding(self): if locale is not None: try: return locale.getpreferredencoding() except locale.Error: pass return sys.getdefaultencoding() def _getFileSystemEncoding(self): enc = sys.getfilesystemencoding() if enc is None: enc = self._getPreferredEncoding() return enc def testIRuntimeInfoVerify(self): verifyObject(IRuntimeInfo, self._Test__new()) def test_PreferredEncoding(self): runtime_info = self._Test__new() enc = self._getPreferredEncoding() self.assertEqual(runtime_info.getPreferredEncoding(), enc) def test_FileSystemEncoding(self): runtime_info = self._Test__new() enc = self._getFileSystemEncoding() self.assertEqual(runtime_info.getFileSystemEncoding(), enc) def test_ZopeVersion(self): runtime_info = self._Test__new() # we expect that there is no utility self.assertEqual(runtime_info.getZopeVersion(), u"Unavailable") siteManager = component.getSiteManager() siteManager.registerUtility(TestZopeVersion(), IZopeVersion) self.assertEqual(runtime_info.getZopeVersion(), stupid_version_string) def test_PythonVersion(self): runtime_info = self._Test__new() enc = self._getPreferredEncoding() self.assertEqual(runtime_info.getPythonVersion(), unicode(sys.version, enc)) def test_SystemPlatform(self): runtime_info = self._Test__new() self.failUnless(runtime_info.getSystemPlatform()) def test_CommandLine(self): runtime_info = self._Test__new() self.assertEqual(runtime_info.getCommandLine(), " ".join(sys.argv)) def test_ProcessId(self): runtime_info = self._Test__new() self.assertEqual(runtime_info.getProcessId(), os.getpid()) def test_Uptime(self): runtime_info = self._Test__new() # whats the uptime we expect? start_time = applicationController.getStartTime() asserted_uptime = time.time() - start_time # get the uptime the current implementation calculates test_uptime = runtime_info.getUptime() self.failUnless(abs(asserted_uptime - test_uptime) < time_tolerance) def test_suite(): return unittest.TestSuite(( unittest.makeSuite(Test), )) if __name__ == '__main__': unittest.main() zope.applicationcontrol-3.5.5/src/zope/applicationcontrol/tests/__init__.py0000644000175000017500000000007511322114225027144 0ustar faassenfaassen# # This file is necessary to make this directory a package. zope.applicationcontrol-3.5.5/src/zope/applicationcontrol/tests/test_applicationcontrol.py0000644000175000017500000000303511322114225032347 0ustar faassenfaassen############################################################################## # # Copyright (c) 2001, 2002 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. ############################################################################## """Application Control Tests $Id: test_applicationcontrol.py 107926 2010-01-09 14:12:52Z faassen $ """ import unittest from zope.interface.verify import verifyObject import time from zope.applicationcontrol.applicationcontrol import ApplicationControl from zope.applicationcontrol.interfaces import IApplicationControl # seconds, time values may differ in order to be assumed equal time_tolerance = 2 class Test(unittest.TestCase): def _Test__new(self): return ApplicationControl() def test_IVerify(self): verifyObject(IApplicationControl, self._Test__new()) def test_startTime(self): assert_time = time.time() test_time = self._Test__new().getStartTime() self.failUnless(abs(assert_time - test_time) < time_tolerance) def test_suite(): return unittest.TestSuite(( unittest.makeSuite(Test), )) if __name__ == '__main__': unittest.main() zope.applicationcontrol-3.5.5/src/zope/applicationcontrol/__init__.py0000644000175000017500000000007511322114226026003 0ustar faassenfaassen# # This file is necessary to make this directory a package. zope.applicationcontrol-3.5.5/src/zope/applicationcontrol/applicationcontrol.py0000644000175000017500000000320311322114226030144 0ustar faassenfaassen############################################################################## # # Copyright (c) 2001, 2002 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. # ############################################################################## """Application Control $Id: applicationcontrol.py 107926 2010-01-09 14:12:52Z faassen $""" __docformat__ = 'restructuredtext' import time import zope.interface import zope.traversing.interfaces from zope.location import Location from zope.security.checker import ProxyFactory, NamesChecker from zope.applicationcontrol.interfaces import IApplicationControl class ApplicationControl(Location): zope.interface.implements(IApplicationControl) def __init__(self): self.start_time = time.time() def getStartTime(self): return self.start_time applicationControllerRoot = Location() zope.interface.directlyProvides( applicationControllerRoot, zope.traversing.interfaces.IContainmentRoot, ) applicationControllerRoot = ProxyFactory(applicationControllerRoot, NamesChecker("__class__")) applicationController = ApplicationControl() applicationController.__parent__ = applicationControllerRoot applicationController.__name__ = '++etc++process' zope.applicationcontrol-3.5.5/src/zope/applicationcontrol/interfaces.py0000644000175000017500000000734611322114226026377 0ustar faassenfaassen############################################################################## # # Copyright (c) 2001, 2002 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. # ############################################################################## """Application Control Interface $Id: interfaces.py 107931 2010-01-09 14:42:28Z faassen $ """ __docformat__ = 'restructuredtext' from zope.interface import Interface class IApplicationControl(Interface): """The application control instance is usually generated upon startup and can therefore record the startup time.""" def getStartTime(): """Return time the application started in seconds since the epoch.""" class IRuntimeInfo(Interface): """Runtime Information Adapter for Application Control""" def getDeveloperMode(): """Return the current developer mode setting""" def getPreferredEncoding(): """Return the encoding used for text data, according to user system preferences""" def getFileSystemEncoding(): """Return the name of the encoding used to convert Unicode filenames into system file names""" def getZopeVersion(): """Return a string containing the descriptive version of the current zope installation. Deprecated: the concept of a Zope version went away in the Zope Toolkit. It is unlikely this gives sensible results in many situations. """ def getPythonVersion(): """Return an unicode string containing verbose description of the python interpreter""" def getPythonPath(): """Return a tuple containing an unicode strings containing the lookup paths of the python interpreter""" def getSystemPlatform(): """Return an unicode string containing the system platform name """ def getCommandLine(): """Return the command line string Zope was invoked with""" def getProcessId(): """Return the process id number currently serving the request""" def getUptime(): """Return the Zope server uptime in seconds""" class IZopeVersion(Interface): """Zope version Note: The notion of a zope version is deprecated to the Zope Toolkit. """ def getZopeVersion(): """Return a string containing the Zope version (possibly including SVN information)""" class IServerControl(Interface): """Defines methods for shutting down and restarting the server. This utility also keeps a registry of things to call when shutting down zope. You can register using this interface or the zcml on the global ServerController instance. """ def shutdown(time=0): """Shutdown the server. The `time` should be greater-equal 0. If the `time` is 0, then we do a hard shutdown, i.e. closing all sockets without waiting for tasks to complete. If the `time` is not 0, then we will give the tasks `time` seconds to finish before shutting down. """ def restart(time=0): """Restart the server. The `time` should be greater-equal 0. If the `time` is 0, then we do a hard shutdown, i.e. closing all sockets without waiting for tasks to complete. If the `time` is not 0, then we will give the tasks `time` seconds to finish before shutting down. """ zope.applicationcontrol-3.5.5/src/zope/applicationcontrol/configure.zcml0000644000175000017500000000177111322114226026546 0ustar faassenfaassen zope.applicationcontrol-3.5.5/src/zope/applicationcontrol/runtimeinfo.py0000644000175000017500000000737711322114226026617 0ustar faassenfaassen############################################################################## # # Copyright (c) 2001, 2002 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. # ############################################################################## """ Runtime Information $Id: runtimeinfo.py 107931 2010-01-09 14:42:28Z faassen $ """ __docformat__ = 'restructuredtext' import sys import os import time try: import locale except ImportError: locale = None import platform from zope.component import getUtility, ComponentLookupError from zope.interface import implements from zope.applicationcontrol.interfaces import IRuntimeInfo from zope.applicationcontrol.interfaces import IApplicationControl from zope.applicationcontrol.interfaces import IZopeVersion try: from zope.app.appsetup import appsetup except ImportError: appsetup = None class RuntimeInfo(object): """Runtime information.""" implements(IRuntimeInfo) __used_for__ = IApplicationControl def __init__(self, context): self.context = context def getDeveloperMode(self): """See zope.app.applicationcontrol.interfaces.IRuntimeInfo""" if appsetup is None: return 'undefined' cc=appsetup.getConfigContext() if cc == None: # make the test run return 'undefined' if cc.hasFeature('devmode'): return 'On' return 'Off' def getPreferredEncoding(self): """See zope.app.applicationcontrol.interfaces.IRuntimeInfo""" if locale is not None: try: return locale.getpreferredencoding() except locale.Error: pass return sys.getdefaultencoding() def getFileSystemEncoding(self): """See zope.app.applicationcontrol.interfaces.IRuntimeInfo""" enc = sys.getfilesystemencoding() if enc is None: enc = self.getPreferredEncoding() return enc def getZopeVersion(self): """See zope.app.applicationcontrol.interfaces.IRuntimeInfo""" try: version_utility = getUtility(IZopeVersion) except ComponentLookupError: return "Unavailable" return version_utility.getZopeVersion() def getPythonVersion(self): """See zope.app.applicationcontrol.interfaces.IRuntimeInfo""" return unicode(sys.version, self.getPreferredEncoding()) def getPythonPath(self): """See zope.app.applicationcontrol.interfaces.IRuntimeInfo""" enc = self.getFileSystemEncoding() return tuple([unicode(path, enc) for path in sys.path]) def getSystemPlatform(self): """See zope.app.applicationcontrol.interfaces.IRuntimeInfo""" info = [] enc = self.getPreferredEncoding() for item in platform.uname(): try: t = unicode(item, enc) except ValueError: continue info.append(t) return u" ".join(info) def getCommandLine(self): """See zope.app.applicationcontrol.interfaces.IRuntimeInfo""" return unicode(" ".join(sys.argv), self.getPreferredEncoding()) def getProcessId(self): """See zope.app.applicationcontrol.interfaces.IRuntimeInfo""" return os.getpid() def getUptime(self): """See zope.app.applicationcontrol.interfaces.IRuntimeInfo""" return time.time() - self.context.getStartTime() zope.applicationcontrol-3.5.5/src/zope.applicationcontrol.egg-info/0000755000175000017500000000000011322114373025364 5ustar faassenfaassenzope.applicationcontrol-3.5.5/src/zope.applicationcontrol.egg-info/SOURCES.txt0000644000175000017500000000147511322114373027257 0ustar faassenfaassenCHANGES.txt README.txt bootstrap.py buildout.cfg setup.py test.py src/zope/__init__.py src/zope.applicationcontrol.egg-info/PKG-INFO src/zope.applicationcontrol.egg-info/SOURCES.txt src/zope.applicationcontrol.egg-info/dependency_links.txt src/zope.applicationcontrol.egg-info/namespace_packages.txt src/zope.applicationcontrol.egg-info/not-zip-safe src/zope.applicationcontrol.egg-info/requires.txt src/zope.applicationcontrol.egg-info/top_level.txt src/zope/applicationcontrol/__init__.py src/zope/applicationcontrol/applicationcontrol.py src/zope/applicationcontrol/configure.zcml src/zope/applicationcontrol/interfaces.py src/zope/applicationcontrol/runtimeinfo.py src/zope/applicationcontrol/tests/__init__.py src/zope/applicationcontrol/tests/test_applicationcontrol.py src/zope/applicationcontrol/tests/test_runtimeinfo.pyzope.applicationcontrol-3.5.5/src/zope.applicationcontrol.egg-info/dependency_links.txt0000644000175000017500000000000111322114373031432 0ustar faassenfaassen zope.applicationcontrol-3.5.5/src/zope.applicationcontrol.egg-info/top_level.txt0000644000175000017500000000000511322114373030111 0ustar faassenfaassenzope zope.applicationcontrol-3.5.5/src/zope.applicationcontrol.egg-info/namespace_packages.txt0000644000175000017500000000000511322114373031712 0ustar faassenfaassenzope zope.applicationcontrol-3.5.5/src/zope.applicationcontrol.egg-info/PKG-INFO0000644000175000017500000000251311322114373026462 0ustar faassenfaassenMetadata-Version: 1.0 Name: zope.applicationcontrol Version: 3.5.5 Summary: Zope applicationcontrol Home-page: http://cheeseshop.python.org/pypi/zope.applicationcontrol Author: Zope Foundation and Contributors Author-email: zope-dev@zope.org License: ZPL 2.1 Description: ======================= zope.applicationcontrol ======================= The application control instance can be generated upon startup of an application built with the Zope Toolkit. This package provides an API to retrieve runtime information. It also provides a utility with methods for shutting down and restarting the server. ======= CHANGES ======= 3.5.5 (2010-01-09) ------------------ - Initial release, extracted from zope.app.applicationcontrol. Keywords: zope ztk application control Platform: UNKNOWN Classifier: Development Status :: 5 - Production/Stable Classifier: Environment :: Web Environment Classifier: Intended Audience :: Developers Classifier: License :: OSI Approved :: Zope Public License Classifier: Programming Language :: Python Classifier: Natural Language :: English Classifier: Operating System :: OS Independent Classifier: Topic :: Internet :: WWW/HTTP Classifier: Framework :: Zope3 zope.applicationcontrol-3.5.5/src/zope.applicationcontrol.egg-info/not-zip-safe0000644000175000017500000000000111322114226027607 0ustar faassenfaassen zope.applicationcontrol-3.5.5/src/zope.applicationcontrol.egg-info/requires.txt0000644000175000017500000000014411322114373027763 0ustar faassenfaassensetuptools zope.interface zope.component zope.location zope.security zope.traversing>=3.7.0 [test] zope.applicationcontrol-3.5.5/PKG-INFO0000644000175000017500000000251311322114373017321 0ustar faassenfaassenMetadata-Version: 1.0 Name: zope.applicationcontrol Version: 3.5.5 Summary: Zope applicationcontrol Home-page: http://cheeseshop.python.org/pypi/zope.applicationcontrol Author: Zope Foundation and Contributors Author-email: zope-dev@zope.org License: ZPL 2.1 Description: ======================= zope.applicationcontrol ======================= The application control instance can be generated upon startup of an application built with the Zope Toolkit. This package provides an API to retrieve runtime information. It also provides a utility with methods for shutting down and restarting the server. ======= CHANGES ======= 3.5.5 (2010-01-09) ------------------ - Initial release, extracted from zope.app.applicationcontrol. Keywords: zope ztk application control Platform: UNKNOWN Classifier: Development Status :: 5 - Production/Stable Classifier: Environment :: Web Environment Classifier: Intended Audience :: Developers Classifier: License :: OSI Approved :: Zope Public License Classifier: Programming Language :: Python Classifier: Natural Language :: English Classifier: Operating System :: OS Independent Classifier: Topic :: Internet :: WWW/HTTP Classifier: Framework :: Zope3 zope.applicationcontrol-3.5.5/setup.py0000644000175000017500000000453311322114226017737 0ustar faassenfaassen############################################################################## # # Copyright (c) Zope Foundation 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. # ############################################################################## # This package is developed by the Zope Toolkit project, documented here: # http://docs.zope.org/zopetoolkit # When developing and releasing this package, please follow the documented # Zope Toolkit policies as described by this documentation. ############################################################################## version = '3.5.5' import os from setuptools import setup, find_packages def read(*rnames): return open(os.path.join(os.path.dirname(__file__), *rnames)).read() setup(name='zope.applicationcontrol', version = version, author='Zope Foundation and Contributors', author_email='zope-dev@zope.org', description='Zope applicationcontrol', long_description=( read('README.txt') + '\n\n' + read('CHANGES.txt') ), license='ZPL 2.1', keywords = "zope ztk application control", classifiers = [ 'Development Status :: 5 - Production/Stable', 'Environment :: Web Environment', 'Intended Audience :: Developers', 'License :: OSI Approved :: Zope Public License', 'Programming Language :: Python', 'Natural Language :: English', 'Operating System :: OS Independent', 'Topic :: Internet :: WWW/HTTP', 'Framework :: Zope3'], url='http://cheeseshop.python.org/pypi/zope.applicationcontrol', extras_require=dict( test=[ ]), package_dir = {'': 'src'}, packages=find_packages('src'), namespace_packages=['zope'], install_requires=[ 'setuptools', 'zope.interface', 'zope.component', 'zope.location', 'zope.security', 'zope.traversing>=3.7.0', ], include_package_data = True, zip_safe = False, ) zope.applicationcontrol-3.5.5/CHANGES.txt0000644000175000017500000000017711322114226020036 0ustar faassenfaassen======= CHANGES ======= 3.5.5 (2010-01-09) ------------------ - Initial release, extracted from zope.app.applicationcontrol. zope.applicationcontrol-3.5.5/README.txt0000644000175000017500000000051311322114226017715 0ustar faassenfaassen======================= zope.applicationcontrol ======================= The application control instance can be generated upon startup of an application built with the Zope Toolkit. This package provides an API to retrieve runtime information. It also provides a utility with methods for shutting down and restarting the server.