Message162182
Ok so it seems I can't just use sys.meta_path in pip to work with ImpImporter due to according to the pydoc:
Note that ImpImporter does not currently support being used by placement on sys.meta_path.
I guess I can write a custom importer in pip for handling the vcs plugins or possibly change how we do that. Another option is to grossly hack around ala:
i = ImpImporter(path=vcs.__path__[0])
sys.path_importer_cache.setdefault(vcs.__path__[0], i)
Found another bug doing this though which I'll follow up with a patch. |
|
Date |
User |
Action |
Args |
2012-06-02 21:57:34 | pnasrat | set | recipients:
+ pnasrat, brett.cannon, eric.smith, Arfrever, Marc.Abramowitz, Ronan.Lamy |
2012-06-02 21:57:34 | pnasrat | set | messageid: <1338674254.75.0.631142113164.issue14982@psf.upfronthosting.co.za> |
2012-06-02 21:57:34 | pnasrat | link | issue14982 messages |
2012-06-02 21:57:33 | pnasrat | create | |
|