Re: formencode as .egg in Debian ??

2005-11-21 Thread Matthias Klose
Bob Tanner writes: > > If there is no way to install the package directly into site-packages > > using the provided setup.py, I think setup.py should be > > modified/ignored. > > Won't this mean a total re-write of cdbs since it specifically looks for > setup.py? yes, if cdbs doesn't allow that.

Re: formencode as .egg in Debian ??

2005-11-21 Thread Bob Tanner
On Tuesday 22 November 2005 12:15 am, Martin v. Löwis wrote: > I don't think Debian should use the egg structure. It apparently relies > on building a long sys.path (even though through only a single .pth > file); I'm not sure of how .eggs are implemented, but I'm going to cross-post this info t

Re: formencode as .egg in Debian ??

2005-11-21 Thread Bob Tanner
> If there is no way to install the package directly into site-packages > using the provided setup.py, I think setup.py should be > modified/ignored. Won't this mean a total re-write of cdbs since it specifically looks for setup.py? -- Bob Tanner <[EMAIL PROTECTED]> | Phone : (952)943

Re: formencode as .egg in Debian ??

2005-11-21 Thread Martin v. Löwis
Bob Tanner wrote: Note also that in many cases, the package will be a single .egg *file*, (analagous to a Java .jar file) rather than a directory, and files are preferable to directories in most cases as they make Python import processing faster. I don't think Debian should use the egg struct

Re: formencode as .egg in Debian ??

2005-11-21 Thread Bob Tanner
On Monday 21 November 2005 05:16 pm, you wrote: > > Is Debian python policy dated or wrong? > > > > Debian moving a different direction then upstream python? > > surely our policy needs to adopt the new schema. I don't think it's > dated or wrong. there are things which we do want to prevent: > > -

Re: formencode as .egg in Debian ??

2005-11-21 Thread Matthias Klose
Bob Tanner writes: > >I'm working around the "problem" by installing a formencode.pth pointing to > >the /usr/lib/python2.4/site-packages/FormEncode-0.4-py2.4.egg directory. > > This isn't a "problem", it's just that the Debian policy isn't > up-to-date. Python eggs install this way, and many pa

Re: formencode as .egg in Debian ??

2005-11-21 Thread Bob Tanner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Matthias Urlichs wrote: >> > ??? Please don't do that in a Debian package. >> >> First question, why? >> > Because you can't us it with a simple "use formencode". > "pydoc" doesn't work with eggs either. > Cross-posting from the python-distutils-d

Re: formencode as .egg in Debian ??

2005-11-21 Thread Bob Tanner
Matthias Urlichs wrote: >> If it break Debian policies, please point me to the appropriate >> section(s) and documents. I wasn't able to find any related to python >> module packaging. >> > zless /usr/share/doc/python/python-policy.txt.gz I put a zip_safe = False into the setup.py, the prevents

Re: formencode as .egg in Debian ??

2005-11-21 Thread Matthias Urlichs
Hi, Bob Tanner: > On Monday 21 November 2005 09:09 am, Matthias Urlichs wrote: > > $ dpkg -L python2.4-formencode > > [...] > > /usr/lib/python2.4/site-packages/FormEncode-0.4-py2.4.egg > > /usr/share/doc/python2.4-formencode/copyright > > /usr/share/doc/python2.4-formencode/changelog.Debian.gz >