Pythoscope packaging modules which interfere with system modules

Bug #1055439 reported by Sarah Mount
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Pythoscope
New
Undecided
Unassigned

Bug Description

Pythoscope packages a bunch of modules like lib2to3. I have Pythoscope installed, system-wide, on vanilla Ubuntu Pangolin and I get this:

$ python
Python 2.7.3 (default, Aug 1 2012, 05:14:39)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import lib2to3
>>> lib2to3.__file__
'/usr/local/lib/python2.7/dist-packages/pythoscope-0.4.3-py2.7.egg/lib2to3/__init__.pyc'
>>>

This was the subject of Pep8ify Issue 6: https://github.com/spulec/pep8ify/issues/6

Revision history for this message
Paul McMillan (paul-mcmillan) wrote :

In the Django project, we avoid these problems for the libraries that we do bundle by deferring to system-level packages, and only using our bundled versions if there aren't other copies avaliable. For example, here's how we do it with the unittest library:

https://github.com/django/django/blob/master/django/utils/unittest/__init__.py

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.