[Distutils] testing with eggs
Ian Bicking
ianb at colorstudy.com
Sat Aug 20 05:44:57 CEST 2005
Ian Bicking wrote:
>>>At first I tried adding fake_packages to sys.path; didn't work at all.
>>
>>
>>Because the subdirectories' names don't end in .egg; if they did and you
>>just used EGG-INFO instead of .egg-info, it would work.
>
>
> OK, I'll try that.
That worked; as long as fake_packages is in the path (before I import
pkg_resources), and if I rename FakeApp to FakeApp.egg, and symlink
EGG-INFO to FakeApp.egg-info, then it works.
--
Ian Bicking / ianb at colorstudy.com / http://blog.ianbicking.org
More information about the Distutils-SIG
mailing list