Pythoscope packaging modules which interfere with system modules
Bug #1055439 reported by
Sarah Mount
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/
>>>
This was the subject of Pep8ify Issue 6: https:/
To post a comment you must log in.
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