This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: index.simple module lacking in distutils2
Type: behavior Stage: resolved
Components: Distutils2 Versions: 3rd party
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: eric.araujo Nosy List: Pierre.Lecointre, alexis, eric.araujo, tarek
Priority: normal Keywords:

Created on 2012-03-15 15:15 by Pierre.Lecointre, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (3)
msg155893 - (view) Author: Pierre Lecointre (Pierre.Lecointre) Date: 2012-03-15 15:15
Got an error, in debian squeeze (python 2.6) and Ubuntu 11.10 (python 2.7) :

plec@cezoffsrv04:~$ python
Python 2.6.6 (r266:84292, Dec 27 2010, 00:02:40)
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from distutils2.index.simple import Crawler
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named index.simple
>>>
msg155899 - (view) Author: Alexis Metaireau (alexis) * (Python triager) Date: 2012-03-15 16:08
The APIs of distutils2 have changed. the "index" module is now named "pypi".

So, doing something like::

    >>> from distutils2.pypi.simple import Crawler

should work.
msg156051 - (view) Author: Pierre Lecointre (Pierre.Lecointre) Date: 2012-03-16 15:09
Un grand merci pour cette réponse !
La substitution index par pypi a fonctionné.

Bon week-end

2012/3/15 Alexis Metaireau <report@bugs.python.org>

>
> Alexis Metaireau <alexis@notmyidea.org> added the comment:
>
> The APIs of distutils2 have changed. the "index" module is now named
> "pypi".
>
> So, doing something like::
>
>    >>> from distutils2.pypi.simple import Crawler
>
> should work.
>
> ----------
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue14317>
> _______________________________________
>
History
Date User Action Args
2022-04-11 14:57:28adminsetgithub: 58525
2012-03-16 15:09:05Pierre.Lecointresetmessages: + msg156051
2012-03-16 14:52:18eric.araujosetstage: resolved
resolution: wont fix -> out of date
versions: + 3rd party, - Python 2.6
2012-03-15 16:09:34alexissetstatus: open -> closed
resolution: wont fix
2012-03-15 16:08:42alexissetmessages: + msg155899
2012-03-15 15:15:55Pierre.Lecointresettitle: index.simple module licking in distutils2 -> index.simple module lacking in distutils2
versions: + Python 2.6
2012-03-15 15:15:21Pierre.Lecointrecreate