[Checkins] SVN: ZConfig/trunk/ Moved to github
Stephen Richter
cvs-admin at zope.org
Tue Feb 19 22:42:47 UTC 2013
Log message for revision 129490:
Moved to github
Changed:
D ZConfig/trunk/CHANGES.txt
D ZConfig/trunk/COPYRIGHT.txt
D ZConfig/trunk/LICENSE.txt
D ZConfig/trunk/MANIFEST.in
A ZConfig/trunk/MOVED_TO_GITHUB
D ZConfig/trunk/README.txt
D ZConfig/trunk/ZConfig/
D ZConfig/trunk/bootstrap.py
D ZConfig/trunk/buildout.cfg
D ZConfig/trunk/doc/
D ZConfig/trunk/scripts/
D ZConfig/trunk/setup.cfg
D ZConfig/trunk/setup.py
D ZConfig/trunk/tox.ini
-=-
Deleted: ZConfig/trunk/CHANGES.txt
===================================================================
--- ZConfig/trunk/CHANGES.txt 2013-02-19 22:42:21 UTC (rev 129489)
+++ ZConfig/trunk/CHANGES.txt 2013-02-19 22:42:47 UTC (rev 129490)
@@ -1,262 +0,0 @@
-==========================
-Change History for ZConfig
-==========================
-
-3.0.3 (unreleased)
-------------------
-
-- Nothing changed yet.
-
-
-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.
-
-- Droped 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.
Deleted: ZConfig/trunk/COPYRIGHT.txt
===================================================================
--- ZConfig/trunk/COPYRIGHT.txt 2013-02-19 22:42:21 UTC (rev 129489)
+++ ZConfig/trunk/COPYRIGHT.txt 2013-02-19 22:42:47 UTC (rev 129490)
@@ -1 +0,0 @@
-Zope Foundation and Contributors
\ No newline at end of file
Deleted: ZConfig/trunk/LICENSE.txt
===================================================================
--- ZConfig/trunk/LICENSE.txt 2013-02-19 22:42:21 UTC (rev 129489)
+++ ZConfig/trunk/LICENSE.txt 2013-02-19 22:42:47 UTC (rev 129490)
@@ -1,44 +0,0 @@
-Zope Public License (ZPL) Version 2.1
-
-A copyright notice accompanies this license document that identifies the
-copyright holders.
-
-This license has been certified as open source. It has also been designated as
-GPL compatible by the Free Software Foundation (FSF).
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
-1. Redistributions in source code must retain the accompanying copyright
-notice, this list of conditions, and the following disclaimer.
-
-2. Redistributions in binary form must reproduce the accompanying copyright
-notice, this list of conditions, and the following disclaimer in the
-documentation and/or other materials provided with the distribution.
-
-3. Names of the copyright holders must not be used to endorse or promote
-products derived from this software without prior written permission from the
-copyright holders.
-
-4. The right to distribute this software or to use it for any purpose does not
-give you the right to use Servicemarks (sm) or Trademarks (tm) of the
-copyright
-holders. Use of them is covered by separate agreement with the copyright
-holders.
-
-5. If any files are modified, you must cause the modified files to carry
-prominent notices stating that you changed the files and the date of any
-change.
-
-Disclaimer
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED
-OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
-OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT,
-INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
-PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
-LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Deleted: ZConfig/trunk/MANIFEST.in
===================================================================
--- ZConfig/trunk/MANIFEST.in 2013-02-19 22:42:21 UTC (rev 129489)
+++ ZConfig/trunk/MANIFEST.in 2013-02-19 22:42:47 UTC (rev 129490)
@@ -1,10 +0,0 @@
-include *.rst
-include *.txt
-include tox.ini
-include bootstrap.py
-include buildout.cfg
-
-recursive-include ZConfig *
-recursive-include doc *
-
-global-exclude *.pyc
Added: ZConfig/trunk/MOVED_TO_GITHUB
===================================================================
--- ZConfig/trunk/MOVED_TO_GITHUB (rev 0)
+++ ZConfig/trunk/MOVED_TO_GITHUB 2013-02-19 22:42:47 UTC (rev 129490)
@@ -0,0 +1 @@
+See https://github.com/zopefoundation/ZConfig
Deleted: ZConfig/trunk/README.txt
===================================================================
--- ZConfig/trunk/README.txt 2013-02-19 22:42:21 UTC (rev 129489)
+++ ZConfig/trunk/README.txt 2013-02-19 22:42:47 UTC (rev 129490)
@@ -1,94 +0,0 @@
-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>`__.
Deleted: ZConfig/trunk/bootstrap.py
===================================================================
--- ZConfig/trunk/bootstrap.py 2013-02-19 22:42:21 UTC (rev 129489)
+++ ZConfig/trunk/bootstrap.py 2013-02-19 22:42:47 UTC (rev 129490)
@@ -1,165 +0,0 @@
-##############################################################################
-#
-# Copyright (c) 2006 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.
-#
-##############################################################################
-"""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.
-"""
-
-import os, shutil, sys, tempfile
-from optparse import OptionParser
-
-tmpeggs = tempfile.mkdtemp()
-
-usage = '''\
-[DESIRED PYTHON FOR BUILDOUT] bootstrap.py [options]
-
-Bootstraps a buildout-based project.
-
-Simply run this script in a directory containing a buildout.cfg, using the
-Python that you want bin/buildout to use.
-
-Note that by using --setup-source and --download-base to point to
-local resources, you can keep this script from going over the network.
-'''
-
-parser = OptionParser(usage=usage)
-parser.add_option("-v", "--version", help="use a specific zc.buildout version")
-
-parser.add_option("-t", "--accept-buildout-test-releases",
- dest='accept_buildout_test_releases',
- action="store_true", default=False,
- help=("Normally, if you do not specify a --version, the "
- "bootstrap script and buildout gets the newest "
- "*final* versions of zc.buildout and its recipes and "
- "extensions for you. If you use this flag, "
- "bootstrap and buildout will get the newest releases "
- "even if they are alphas or betas."))
-parser.add_option("-c", "--config-file",
- help=("Specify the path to the buildout configuration "
- "file to be used."))
-parser.add_option("-f", "--find-links",
- help=("Specify a URL to search for buildout releases"))
-
-
-options, args = parser.parse_args()
-
-######################################################################
-# load/install distribute
-
-to_reload = False
-try:
- import pkg_resources, setuptools
- if not hasattr(pkg_resources, '_distribute'):
- to_reload = True
- raise ImportError
-except ImportError:
- ez = {}
-
- try:
- from urllib.request import urlopen
- except ImportError:
- from urllib2 import urlopen
-
- exec(urlopen('http://python-distribute.org/distribute_setup.py').read(), ez)
- setup_args = dict(to_dir=tmpeggs, download_delay=0, no_fake=True)
- ez['use_setuptools'](**setup_args)
-
- if to_reload:
- reload(pkg_resources)
- import pkg_resources
- # This does not (always?) update the default working set. We will
- # do it.
- for path in sys.path:
- if path not in pkg_resources.working_set.entries:
- pkg_resources.working_set.add_entry(path)
-
-######################################################################
-# Install buildout
-
-ws = pkg_resources.working_set
-
-cmd = [sys.executable, '-c',
- 'from setuptools.command.easy_install import main; main()',
- '-mZqNxd', tmpeggs]
-
-find_links = os.environ.get(
- 'bootstrap-testing-find-links',
- options.find_links or
- ('http://downloads.buildout.org/'
- if options.accept_buildout_test_releases else None)
- )
-if find_links:
- cmd.extend(['-f', find_links])
-
-distribute_path = ws.find(
- pkg_resources.Requirement.parse('distribute')).location
-
-requirement = 'zc.buildout'
-version = options.version
-if version is None and not options.accept_buildout_test_releases:
- # Figure out the most recent final version of zc.buildout.
- import setuptools.package_index
- _final_parts = '*final-', '*final'
- def _final_version(parsed_version):
- for part in parsed_version:
- if (part[:1] == '*') and (part not in _final_parts):
- return False
- return True
- index = setuptools.package_index.PackageIndex(
- search_path=[distribute_path])
- if find_links:
- index.add_find_links((find_links,))
- req = pkg_resources.Requirement.parse(requirement)
- if index.obtain(req) is not None:
- best = []
- bestv = None
- for dist in index[req.project_name]:
- distv = dist.parsed_version
- if _final_version(distv):
- if bestv is None or distv > bestv:
- best = [dist]
- bestv = distv
- elif distv == bestv:
- best.append(dist)
- if best:
- best.sort()
- version = best[-1].version
-if version:
- requirement = '=='.join((requirement, version))
-cmd.append(requirement)
-
-import subprocess
-if subprocess.call(cmd, env=dict(os.environ, PYTHONPATH=distribute_path)) != 0:
- raise Exception(
- "Failed to execute command:\n%s",
- repr(cmd)[1:-1])
-
-######################################################################
-# Import and run buildout
-
-ws.add_entry(tmpeggs)
-ws.require(requirement)
-import zc.buildout.buildout
-
-if not [a for a in args if '=' not in a]:
- args.append('bootstrap')
-
-# if -c was provided, we push it back into args for buildout' main function
-if options.config_file is not None:
- args[0:0] = ['-c', options.config_file]
-
-zc.buildout.buildout.main(args)
-shutil.rmtree(tmpeggs)
Deleted: ZConfig/trunk/buildout.cfg
===================================================================
--- ZConfig/trunk/buildout.cfg 2013-02-19 22:42:21 UTC (rev 129489)
+++ ZConfig/trunk/buildout.cfg 2013-02-19 22:42:47 UTC (rev 129490)
@@ -1,19 +0,0 @@
-[buildout]
-develop = .
-parts = nosetests test py
-prefer-final = true
-
-[nosetests]
-recipe = zc.recipe.egg
-eggs = nose
-scripts = nosetests
-
-[test]
-recipe = zc.recipe.testrunner
-eggs = ZConfig
-defaults = ['-1']
-
-[py]
-recipe = zc.recipe.egg
-eggs = ZConfig
-interpreter = py
Deleted: ZConfig/trunk/setup.cfg
===================================================================
--- ZConfig/trunk/setup.cfg 2013-02-19 22:42:21 UTC (rev 129489)
+++ ZConfig/trunk/setup.cfg 2013-02-19 22:42:47 UTC (rev 129490)
@@ -1,7 +0,0 @@
-[bdist_rpm]
-doc_files =
- LICENSE.txt
- NEWS.txt
- README.txt
- doc/schema.dtd
- doc/zconfig.pdf
Deleted: ZConfig/trunk/setup.py
===================================================================
--- ZConfig/trunk/setup.py 2013-02-19 22:42:21 UTC (rev 129489)
+++ ZConfig/trunk/setup.py 2013-02-19 22:42:47 UTC (rev 129490)
@@ -1,73 +0,0 @@
-README = open("README.txt").read()
-CHANGES = open("CHANGES.txt").read()
-
-def alltests():
- import os
- import sys
- import unittest
- # use the zope.testrunner machinery to find all the
- # test suites we've put under ourselves
- import zope.testrunner.find
- import zope.testrunner.options
- here = os.path.abspath(os.path.dirname(sys.argv[0]))
- args = sys.argv[:]
- defaults = ["--test-path", here]
- options = zope.testrunner.options.get_options(args, defaults)
- suites = list(zope.testrunner.find.find_suites(options))
- return unittest.TestSuite(suites)
-
-options = dict(
- name="ZConfig",
- version='3.0.3.dev0',
- author="Fred L. Drake, Jr.",
- author_email="fred at zope.com",
- maintainer="Zope Foundation and Contributors",
- description="Structured Configuration Library",
- long_description=README + "\n\n" + CHANGES,
- license="ZPL 2.1",
- url="http://www.zope.org/Members/fdrake/zconfig/",
- # List packages explicitly so we don't have to assume setuptools:
- packages=[
- "ZConfig",
- "ZConfig.components",
- "ZConfig.components.basic",
- "ZConfig.components.basic.tests",
- "ZConfig.components.logger",
- "ZConfig.components.logger.tests",
- "ZConfig.tests",
- "ZConfig.tests.library",
- "ZConfig.tests.library.thing",
- "ZConfig.tests.library.widget",
- ],
- scripts=["scripts/zconfig", "scripts/zconfig_schema2html"],
- include_package_data=True,
- zip_safe=False,
- classifiers=[
- 'Development Status :: 5 - Production/Stable',
- 'Intended Audience :: Developers',
- 'Intended Audience :: System Administrators',
- 'License :: OSI Approved :: Zope Public License',
- 'Operating System :: OS Independent',
- 'Programming Language :: Python',
- 'Programming Language :: Python :: 2',
- 'Programming Language :: Python :: 2.6',
- 'Programming Language :: Python :: 2.7',
- 'Programming Language :: Python :: 3',
- 'Programming Language :: Python :: 3.3',
- 'Programming Language :: Python :: Implementation :: CPython',
- 'Operating System :: OS Independent',
- 'Topic :: Software Development',
- ],
- # Support for 'setup.py test' when setuptools is available:
- test_suite='__main__.alltests',
- tests_require=[
- 'zope.testrunner',
- ],
- )
-
-try:
- from setuptools import setup
-except ImportError:
- from distutils.core import setup
-
-setup(**options)
Deleted: ZConfig/trunk/tox.ini
===================================================================
--- ZConfig/trunk/tox.ini 2013-02-19 22:42:21 UTC (rev 129489)
+++ ZConfig/trunk/tox.ini 2013-02-19 22:42:47 UTC (rev 129490)
@@ -1,24 +0,0 @@
-[tox]
-envlist = py26,py27,py33
-
-[testenv]
-commands =
- python setup.py test -q
-# without explicit deps, setup.py test will download a bunch of eggs into $PWD
-deps =
- zope.testrunner
-
-[testenv:coverage]
-basepython =
- python2.7
-commands =
-# The installed version messes up nose's test discovery / coverage reporting
-# So, we uninstall that from the environment, and then install the editable
-# version, before running nosetests.
- pip uninstall -y ZConfig
- pip install -e .
- nosetests --with-xunit --with-xcoverage
-deps =
- nose
- coverage
- nosexcover
More information about the checkins
mailing list