b3, fix (likelY) windows-path-comparison related issue at plugin registration

link to PyPI

--HG--
branch : trunk
This commit is contained in:
holger krekel 2009-06-19 13:05:44 +02:00
parent 6de02a7976
commit 53dc595113
7 changed files with 12 additions and 6 deletions

View File

@ -1,6 +1,6 @@
$Id: CHANGELOG 65819 2009-06-18 18:09:57Z hpk $
Changes between 1.0.0b1 and 1.0.0b2
Changes between 1.0.0b1 and 1.0.0b3
=============================================
* plugin classes are removed: one now defines

View File

@ -57,6 +57,7 @@ example/genxml.py
example/pytest/failure_demo.py
example/pytest/test_failures.py
example/pytest/test_setup_flow_example.py
ez_setup.py
py/LICENSE
py/__init__.py
py/_com.py

View File

@ -2,7 +2,9 @@
Downloading
==============
Latest Release: 1.0.0b2
.. _`PyPI project page`: http://pypi.python.org/pypi?%3Aaction=pkg_edit&name=py
Latest Release, see `PyPI project page`_
"easy_install py"
===================================================

View File

@ -1,7 +1,9 @@
py lib: Main tools and APIs
===================================
Latest Release: 1.0.0b2
.. _`PyPI project page`: http://pypi.python.org/pypi?%3Aaction=pkg_edit&name=py
Latest Release, see `PyPI project page`_
`py.test`_ write and deploy unit- and functional tests to multiple machines.

View File

@ -19,7 +19,7 @@ For questions please check out http://pylib.org/contact.html
"""
from initpkg import initpkg
version = "1.0.0b2"
version = "1.0.0b3"
initpkg(__name__,
description = "py.test and pylib: advanced testing tool and networking lib",

View File

@ -33,7 +33,8 @@ class PluginManager(object):
def register(self, plugin, name=None):
assert not self.isregistered(plugin)
name = self._getpluginname(plugin, name)
assert name not in self.impname2plugin
if name in self.impname2plugin:
return False
self.impname2plugin[name] = plugin
self.hook.pytest_plugin_registered(plugin=plugin)
self._checkplugin(plugin)

View File

@ -35,7 +35,7 @@ def main():
name='py',
description='py.test and pylib: advanced testing tool and networking lib',
long_description = long_description,
version='1.0.0b2',
version='1.0.0b3',
url='http://pylib.org',
license='MIT license',
platforms=['unix', 'linux', 'osx', 'cygwin', 'win32'],