Zope application control
Project description
zope.app.applicationcontrol
The application control instance is usually generated upon startup. This package provides runtime information adapter for application control and Zope version. Also provide a utility with methods for shutting down and restarting the server.
Developer Resources
Subversion browser:
Read-only Subversion checkout:
$ svn co svn://svn.zope.org/repos/main/zope.app.applicationcontrol/trunk
Writable Subversion checkout:
$ svn co svn+ssh://userid@svn.zope.org/repos/main/zope.app.applicationcontrol/trunk
Installing This Package
Prerequisites
The installation steps below assume that you have the cool new ‘setuptools’ package installed in your Python. Here is where to get it:
$ wget http://peak.telecommunity.com/dist/ez_setup.py $ /path/to/your/python ez_setup.py # req. write access to 'site-packages'
Docs for EasyInstall: http://peak.telecommunity.com/DevCenter/EasyInstall
Docs for setuptools: http://peak.telecommunity.com/DevCenter/setuptools
Docs for eggs: http://peak.telecommunity.com/DevCenter/PythonEggs
Installing a Development Checkout
Check out the package from subversion:
$ svn co svn+ssh://svn.zope.org/repos/main/zope.app.applicationcontrol/trunk \ src/zope.app.applicationcontrol $ cd src/zope.app.applicationcontrol
Install it as a “devlopment egg” (which also installs its “hard” dependencies):
$ /path/to/your/python setup.py devel
The installation of dependency eggs uses the ‘setup.cfg’ file in the checkout. You can supply ‘–find-links’ on the command line to point it at a non-standard package repository.
Running the Tests
To test the package, you will also need the ‘zope.testing’ package, which can’t (yet) be automatically installed. Eventually, you should be able to type:
$ /path/to/your/python setup.py test
and have it install the “testing dependencies.” Today, the workaround is to install it manually:
$ /path/to/easy_install --find-links="...." zope.testing
You can then run the tests (finally) from the checkout directory:
$ /path/to/your/python test.py Running: ............. Ran 13 tests with 0 failures and 0 errors in 0.094 seconds.
Installing a Source Distribution
You can also install it from a source distribution:
$ /path/to/easy_install --find-links="...." -eb src zope.app.applicationcontrol $ cd src/zope.app.applicationcontrol $ /path/to/your/python setup.py devel
Installing a Binary Egg
Install the package as a “binary egg” (which also installs its “hard” dependencies):
$ /path/to/easy_install --find-links="...." zope.app.applicationcontrol
CHANGES
3.5.10 (2011-11-02)
Extended the locale-specific fix from version 3.5.6 for hosts which set LC_* in the environment: those variables shadow LANG.
Replaced a testing dependency on zope.app.authentication with zope.password.
Removed unneeded zope.app.appsetup test dependency.
3.5.9 (2010-12-18)
Bugfix: AttributeError: ‘module’ object has no attribute ‘__file__’ when you used pip install instead of easy_install.
The IZopeVersion utility now returns “Meaningless”, since there’s no monolithic Zope 3 in the modern eggified world.
3.5.8 (2010-09-17)
Replaced a testing dependency on zope.app.securitypolicy with one on zope.securitypolicy.
3.5.7 (2010-07-08)
3.5.6 was a bad egg release.
3.5.6 (2010-07-07)
Bugfix: Launching svn replaced the whole environment instead of just appending LANG.
3.5.5 (2010-01-09)
Extracted RuntimeInfo and ApplicationRoot functionality into zope.applicationcontrol. Import this functionality from this package instead (see BBB imports inside this package).
3.5.4 (2010-01-08)
Test dependency on zptpage removed.
3.5.3 (2010-01-05)
Updated to use newer zope.publisher 3.12 and zope.login to make tests work.
3.5.2 (2009-12-19)
Move ‘zope.ManageApplication’ permission from zope.app.security package
Break dependency on zope.app.appsetup by using a conditional import
3.5.1 (2009-08-15)
Added missing (normal and test) dependencies.
Renenabled functional tests.
3.5.0 (2009-05-23)
The application controller is now registered as a utility so that other packages like zope.traversing and zope.app.publication do not need to depend on this package directly. This also makes the application controller pluggable.
3.4.3 (2008-07-30)
Make the test for the ZopeVersion bugfix in 3.4.2 not fail when run from an egg rather than a checkout.
3.4.2 (2008-07-30)
Substitute zope.app.zapi by direct calls to its wrapped apis. See http://launchpad.net/bugs/219302
Bugfix: ZopeVersion used to report an unknown version when running on a machine with a locale different than English. See http://launchpad.net/bugs/177733
Fixed deprecation warning in ftesting.zcml: import ZopeSecurityPolicy from the new location.
3.4.1 (2007-09-27)
rebumped to replace faulty egg
3.4.0 (2007-09-25)
Initial documented release
Reflect changes form zope.app.error refactoring
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for zope.app.applicationcontrol-3.5.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e120a6fae0528f3cf11dc5bc58f856368d533ccc61ca2106b03e578bca54169 |
|
MD5 | f785c13698192c83024fda75f1f3d822 |
|
BLAKE2b-256 | 0c4e5089b277ce07f75b43518733e89a185410f91f5656ae565e15c3cd2b725b |