Éric Araujo mer...@netwok.org added the comment:
[Paul]
To what? The individual packages?
No, I meant distutils2 bugs. I will open them when I get a minute. You’re
right that projects using metadata 1.0 or 1.1 don’t have to use a version
conforming to PEP 386, and that packaging should warn when using the create and
install actions and the check command, not when iterating over installed
distributions.
[Tetsuya Morimoto]
I made a patch which checks the func_name attribute of function before it
refers. It
works for me. However, I wonder if a function has both func.im_self and
func.func_name? Tell me the background because I'm newbie for distutils2.
It’s not really a distutils2 detail but a general Python thing: functions and
methods have these func_name (or __name__ in Python 3) attributes, and the
somewhat complicated code in distutils2.pypi uses them to do its thing. Alexis
intends to clean up that code a bit and we’ll also need more tests. If you’re
new to distutils2, I think this bug is not easy or fun enough and you would
have more luck working on another one.
--
assignee: eric.araujo - alexis
title: distutils2 fails to install a package from PyPI on Python 2.7.2 -
AttributeError in distutils2.pypi.wrapper
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14002
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com