[Checkins] setuptools dependency for zope.interface (was Re: SVN: zope.interface/trunk/src/zope/__init__.py 'setuptools' is not a dependency, reverting r97875)

Baiju M mbaiju at zeomega.net
Sat Mar 28 16:17:22 EDT 2009


Hi,
    I am sorry, I made a mistake in the beginning of this month by removing
the fall-back import of 'pkgutil' from zope.interface
And this is made into 3.5.1 release, so it will a break for those who
don't have 'setuptools' installed.  I have reverted that change now.
Can anyone give me access to PyPI entry  or make a new release.
My PyPI ID is 'baijum'.

BTW, should we make 'setuptools' as a dependency for 'zope.interface'

Regards,
Baiju M


On Sat, Mar 28, 2009 at 3:11 PM, Baiju M <baiju.m.mail at gmail.com> wrote:
> Log message for revision 98434:
>  'setuptools' is not a dependency, reverting r97875
>
>
> Changed:
>  U   zope.interface/trunk/src/zope/__init__.py
>
> -=-
> Modified: zope.interface/trunk/src/zope/__init__.py
> ===================================================================
> --- zope.interface/trunk/src/zope/__init__.py   2009-03-28 16:58:29 UTC (rev 98433)
> +++ zope.interface/trunk/src/zope/__init__.py   2009-03-28 20:11:50 UTC (rev 98434)
> @@ -1 +1,7 @@
> -__import__('pkg_resources').declare_namespace(__name__)
> +# this is a namespace package
> +try:
> +    import pkg_resources
> +    pkg_resources.declare_namespace(__name__)
> +except ImportError:
> +    import pkgutil
> +    __path__ = pkgutil.extend_path(__path__, __name__)
>
> _______________________________________________
> Checkins mailing list
> Checkins at zope.org
> http://mail.zope.org/mailman/listinfo/checkins
>


More information about the Checkins mailing list