Public bug reported:
Most/all of the ubuntu python packages have an egg-info file or
directory (for instance /usr/lib/python2.7/dist-packages/psycopg2-2.4.5
.egg-info). Mapnik doesn't have one, so setuptools doesn't know that the
package is present.
Importing works just fine, no problems there. But setuptools'
pkg_resources.require() fails. If I add a "mapnik.egg-info" with just
"Name: mapnik"in /usr/lib/python2.7/dist-packages/, it works fine.
To reproduce, install "python-mapnik" fire up the python prompt.
import pkg_resources
pkg_resources.require('psycopg2')
pkg_resources.require('requests')
pkg_resources.require('mapnik')
** Affects: mapnik (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1380546
Title:
egg-info file is missing
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mapnik/+bug/1380546/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs