At 06:04 PM 7/22/2009 -0700, Sridhar Ratnakumar wrote:
On Wed, 22 Jul 2009 12:14:11 -0700, P.J. Eby wrote:
t 12:08 PM 7/22/2009 -0700, Sridhar Ratnakumar wrote:
On Tue, 21 Jul 2009 21:23:00 -0700, P.J. Eby
wrote:
If I were trying to do what you're doing, I'd just run a bdist_egg on
the packag
On Wed, 22 Jul 2009 12:14:11 -0700, P.J. Eby wrote:
t 12:08 PM 7/22/2009 -0700, Sridhar Ratnakumar wrote:
On Tue, 21 Jul 2009 21:23:00 -0700, P.J. Eby
wrote:
If I were trying to do what you're doing, I'd just run a bdist_egg on
the package and inspect it via the API. Or, alternately, I'd r
At 12:08 PM 7/22/2009 -0700, Sridhar Ratnakumar wrote:
On Tue, 21 Jul 2009 21:23:00 -0700, P.J. Eby wrote:
If I were trying to do what you're doing, I'd just run a bdist_egg on
the package and inspect it via the API. Or, alternately, I'd run the
egg_info command with an explicit target directo
On Tue, 21 Jul 2009 21:23:00 -0700, P.J. Eby wrote:
If I were trying to do what you're doing, I'd just run a bdist_egg on
the package and inspect it via the API. Or, alternately, I'd run the
egg_info command with an explicit target directory, then load it via the
regular API. (By "regul
At 07:19 PM 7/21/2009 -0700, Sridhar Ratnakumar wrote:
On Tue, 21 Jul 2009 18:04:00 -0700, P.J. Eby wrote:
Is there anyway to get access to this parsed _dep_map without having a
reference to the .egg-info directory? After all, everything needed to
parse requires.txt is that file alone.
Note:
On Tue, 21 Jul 2009 18:04:00 -0700, P.J. Eby wrote:
Is there anyway to get access to this parsed _dep_map without having a
reference to the .egg-info directory? After all, everything needed to
parse requires.txt is that file alone.
Note: requires.txt is extracted and stored elsewhere, so I can
At 05:27 PM 7/21/2009 -0700, Sridhar Ratnakumar wrote:
Ok, I give up.
To parse I need access to the .egg-info/ directory. Why? This is the code
I currently use to access _dep_map.
import pkg_resources as pr
egg_info = '[...]/src/zope.component.egg-info'
base_dir = os.path.dirname(egg_info)
met
Ok, I give up.
To parse I need access to the .egg-info/ directory. Why? This is the code
I currently use to access _dep_map.
import pkg_resources as pr
egg_info = '[...]/src/zope.component.egg-info'
base_dir = os.path.dirname(egg_info)
metadata = pr.PathMetadata(base_dir, egg_info)
dist = pr