/usr/lib/python2.7/dist-packages/ZConfig-3.1.0.egg-info/PKG-INFO is in python-zconfig 3.1.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 | Metadata-Version: 1.1
Name: ZConfig
Version: 3.1.0
Summary: Structured Configuration Library
Home-page: http://www.zope.org/Members/fdrake/zconfig/
Author: Zope Foundation and Contributors
Author-email: fred@zope.com
License: ZPL 2.1
Description: ZConfig: Schema-driven configuration
====================================
ZConfig is a configuration library intended for general use. It
supports a hierarchical schema-driven configuration model that allows
a schema to specify data conversion routines written in Python.
ZConfig's model is very different from the model supported by the
ConfigParser module found in Python's standard library, and is more
suitable to configuration-intensive applications.
ZConfig schema are written in an XML-based language and are able to
"import" schema components provided by Python packages. Since
components are able to bind to conversion functions provided by Python
code in the package (or elsewhere), configuration objects can be
arbitrarily complex, with values that have been verified against
arbitrary constraints. This makes it easy for applications to
separate configuration support from configuration loading even with
configuration data being defined and consumed by a wide range of
separate packages.
ZConfig is licensed under the Zope Public License, version 2.1. See
the file LICENSE.txt in the distribution for the full license text.
Reference documentation is available in the doc/ directory.
One common use of ZConfig is to configure the Python logging
framework. This is extremely simple to do as the following example
demonstrates:
>>> from ZConfig import configureLoggers
>>> configureLoggers('''
... <logger>
... level INFO
... <logfile>
... PATH STDOUT
... format %(levelname)s %(name)s %(message)s
... </logfile>
... </logger>
... ''')
The above configures the root logger to output messages logged at INFO
or above to the console, as we can see in the following example:
>>> from logging import getLogger
>>> logger = getLogger()
>>> logger.info('An info message')
INFO root An info message
>>> logger.debug('A debug message')
A more common configuration would see STDOUT replaced with a path to
the file into which log entries would be written.
For more information, see section 5.2 on the ZConfig documentation and
the examples in ZConfig/components/logger/tests.
Information on the latest released version of the ZConfig package is
available at
http://www.zope.org/Members/fdrake/zconfig/
You may either create an RPM and install this, or install directly from
the source distribution.
There is a mailing list for discussions and questions about ZConfig;
more information on the list is available at
http://mail.zope.org/mailman/listinfo/zconfig/
Installing from the source distribution
---------------------------------------
For a simple installation::
python setup.py install
To install to a user's home-dir::
python setup.py install --home=<dir>
To install to another prefix (for example, /usr/local)::
python setup.py install --prefix=/usr/local
If you need to force the python interpreter to (for example) python2::
python2 setup.py install
For more information on installing packages, please refer to
`Installing Python Modules <http://docs.python.org/inst/inst.html>`__.
==========================
Change History for ZConfig
==========================
3.1.0 (2015-10-17)
------------------
- Add ability to do variable substitution from environment variables using
$() syntax.
3.0.4 (2014-03-20)
------------------
- Added Python 3.4 support.
3.0.3 (2013-03-02)
------------------
- Added Python 3.2 support.
3.0.2 (2013-02-14)
------------------
- Fixed ResourceWarning in BaseLoader.openResource().
3.0.1 (2013-02-13)
------------------
- Removed an accidentally left `pdb` statement from the code.
- Fix a bug in Python 3 with the custom string `repr()` function.
3.0.0 (2013-02-13)
------------------
- Added Python 3.3 support.
- Dropped Python 2.4 and 2.5 support.
2.9.3 (2012-06-25)
------------------
- Fixed: port values of 0 weren't allowed. Port 0 is used to request
an ephemeral port.
2.9.2 (2012-02-11)
------------------
- Adjust test classes to avoid base classes being considered separate
test cases by (at least) the "nose" test runner.
2.9.1 (2012-02-11)
------------------
- Make FileHandler.reopen thread safe.
2.9.0 (2011-03-22)
------------------
- Allow identical redefinition of ``%define`` names.
- Added support for IPv6 addresses.
2.8.0 (2010-04-13)
------------------
- Fix relative path recognition.
https://bugs.launchpad.net/zconfig/+bug/405687
- Added SMTP authentication support for email logger on Python 2.6.
2.7.1 (2009-06-13)
------------------
- Improved documentation
- Fixed tests failures on windows.
2.7.0 (2009-06-11)
------------------
- Added a convenience function, ``ZConfig.configureLoggers(text)`` for
configuring loggers.
- Relaxed the requirement for a logger name in logger sections,
allowing the logger section to be used for both root and non-root
loggers.
2.6.1 (2008-12-05)
------------------
- Fixed support for schema descriptions that override descriptions from a base
schema. If multiple base schema provide descriptions but the derived schema
does not, the first base mentioned that provides a description wins.
https://bugs.launchpad.net/zconfig/+bug/259475
- Fixed compatibility bug with Python 2.5.0.
- No longer trigger deprecation warnings under Python 2.6.
2.6.0 (2008-09-03)
------------------
- Added support for file rotation by time by specifying when and
interval, rather than max-size, for log files.
- Removed dependency on setuptools from the setup.py.
2.5.1 (2007-12-24)
------------------
- Made it possible to run unit tests via 'python setup.py test' (requires
setuptools on sys.path).
- Added better error messages to test failure assertions.
2.5 (2007-08-31)
------------------------
*A note on the version number:*
Information discovered in the revision control system suggests that some
past revision has been called "2.4", though it is not clear that any
actual release was made with that version number. We're going to skip
revision 2.4 entirely to avoid potential issues with anyone using
something claiming to be ZConfig 2.4, and go straight to version 2.5.
- Add support for importing schema components from ZIP archives (including
eggs).
- Added a 'formatter' configuration option in the logging handler sections
to allow specifying a constructor for the formatter.
- Documented the package: URL scheme that can be used in extending schema.
- Added support for reopening all log files opened via configurations using
the ZConfig.components.logger package. For Zope, this is usable via the
``zc.signalhandler`` package. ``zc.signalhandler`` is not required for
ZConfig.
- Added support for rotating log files internally by size.
- Added a minimal implementation of schema-less parsing; this is mostly
intended for applications that want to read several fragments of ZConfig
configuration files and assemble a combined configuration. Used in some
``zc.buildout`` recipes.
- Converted to using ``zc.buildout`` and the standard test runner from
``zope.testing``.
- Added more tests.
2.3.1 (2005-08-21)
------------------
- Isolated some of the case-normalization code so it will at least be
easier to override. This remains non-trivial.
2.3 (2005-05-18)
----------------
- Added "inet-binding-address" and "inet-connection-address" to the
set of standard datatypes. These are similar to the "inet-address"
type, but the default hostname is more sensible. The datatype used
should reflect how the value will be used.
- Alternate rotating logfile handler for Windows, to avoid platform
limitations on renaming open files. Contributed by Sidnei da Silva.
- For <section> and <multisection>, if the name attribute is omitted,
assume name="*", since this is what is used most often.
2.2 (2004-04-21)
----------------
- More documentation has been written.
- Added a timedelta datatype function; the input is the same as for
the time-interval datatype, but the resulting value is a
datetime.timedelta object.
- Make sure keys specified as attributes of the <default> element are
converted by the appropriate key type, and are re-checked for
derived sections.
- Refactored the ZConfig.components.logger schema components so that a
schema can import just one of the "eventlog" or "logger" sections if
desired. This can be helpful to avoid naming conflicts.
- Added a reopen() method to the logger factories.
- Always use an absolute pathname when opening a FileHandler.
- A fix to the logger 'format' key to allow the %(process)d expansion variable
that the logging package supports.
- A new timedelta built-in datatype was added. Similar to time-interval
except that it returns a datetime.timedelta object instead.
2.1 (2004-04-12)
----------------
- Removed compatibility with Python 2.1 and 2.2.
- Schema components must really be in Python packages; the directory
search has been modified to perform an import to locate the package
rather than incorrectly implementing the search algorithm.
- The default objects use for section values now provide a method
getSectionAttributes(); this returns a list of all the attributes of
the section object which store configuration-defined data (including
information derived from the schema).
- Default information can now be included in a schema for <key
name="+"> and <multikey name="+"> by using <default key="...">.
- More documentation has been added to discuss schema extension.
- Support for a Unicode-free Python has been fixed.
- Derived section types now inherit the datatype of the base type if
no datatype is identified explicitly.
- Derived section types can now override the keytype instead of always
inheriting from their base type.
- <import package='...'/> makes use of the current prefix if the
package name begins witha dot.
- Added two standard datatypes: dotted-name and dotted-suffix.
- Added two standard schema components: ZConfig.components.basic and
ZConfig.components.logger.
2.0 (2003-10-27)
----------------
- Configurations can import additional schema components using a new
"%import" directive; this can be used to integrate 3rd-party
components into an application.
- Schemas may be extended using a new "extends" attribute on the
<schema> element.
- Better error messages when elements in a schema definition are
improperly nested.
- The "zconfig" script can now simply verify that a schema definition
is valid, if that's all that's needed.
1.0 (2003-03-25)
----------------
- Initial release.
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: Zope Public License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development
|