[py-dev] any chance of py working from a zip?

Kevin Dangoor dangoor at gmail.com
Tue Jul 12 18:56:34 CEST 2005


On 7/12/05, holger krekel <hpk at trillke.net> wrote:
> I think we are talking about different API levels here.  I
> want callers of py.magic.autopath() to stay unaware of
> distribution details and it should thus really return a
> path-like object (the py lib has uniform "Path"
> implementations in py.path.*).  Return a Zip-Path from
> py.magic.autopath() will be quite trivial once we have
> the implementation.

Aha... You're right, we were talking about different API levels. I
wasn't thinking about py's path abstraction that way.

> 
> > Does py.test require access to things that would be in the zipfile
> > beyond the default configuration? I'm curious to know how much work
> > would be required to get py.test running from a zip...
> 
> You can assume that py.test has arbitrary resources, e.g. the
> tkinter-frontend (py.test --tkinter) has some graphical
> resources.

Yep, I noticed that from the setuptools output.

Kevin



More information about the Pytest-dev mailing list