Re: [Distutils] Utility to mirror an egg index from a Debian distribution

2009-06-16 Thread Brian Sutherland
On Mon, Jun 15, 2009 at 11:08:22AM -0400, P.J. Eby wrote: > At 01:10 PM 6/15/2009 +0200, Brian Sutherland wrote: >> Thanks, I've just released a prototype: >> >> http://pypi.python.org/pypi/van.reposync >> >> However, as I did not want to actually execute code contained in the >> tarball, I did

Re: [Distutils] Utility to mirror an egg index from a Debian distribution

2009-06-15 Thread Sridhar Ratnakumar
On 09-05-15 09:25 AM, P.J. Eby wrote: My current implementation idea is to unpack the tarball and use the egg-metadata to figure out what the "egg" name of the tarball should be. Running "setup.py --name --version" will dump out the name and version, whether you use distutils or setuptools. If

Re: [Distutils] Utility to mirror an egg index from a Debian distribution

2009-06-15 Thread P.J. Eby
At 01:10 PM 6/15/2009 +0200, Brian Sutherland wrote: Thanks, I've just released a prototype: http://pypi.python.org/pypi/van.reposync However, as I did not want to actually execute code contained in the tarball, I did something like this: basedir = os.path.dirname(egg_info) metadat

Re: [Distutils] Utility to mirror an egg index from a Debian distribution

2009-06-15 Thread Brian Sutherland
On Fri, May 15, 2009 at 12:25:31PM -0400, P.J. Eby wrote: > At 01:00 PM 5/15/2009 +0200, Brian Sutherland wrote: >> Hi, >> >> It may seem like a backwards way of doing things, but I have a need for >> a utility that can maintain a python package index mirror of a Debian >> repository. >> >> The bas

Re: [Distutils] Utility to mirror an egg index from a Debian distribution

2009-05-18 Thread Brian Sutherland
On Sat, May 16, 2009 at 07:13:43AM -0400, David Lyon wrote: > > Hi Brian, > Hi David, > It sounds interesting. I might be interested in helping. Great :) > What I would like to do is make a test script to download all the > packages off pypi and build them under multiple platforms. > > Basi

Re: [Distutils] Utility to mirror an egg index from a Debian distribution

2009-05-16 Thread David Lyon
Hi Brian, It sounds interesting. I might be interested in helping. What I would like to do is make a test script to download all the packages off pypi and build them under multiple platforms. Basically, I want to make some tests that will try to install "everything" and then deinstall "everyth

Re: [Distutils] Utility to mirror an egg index from a Debian distribution

2009-05-15 Thread P.J. Eby
At 01:00 PM 5/15/2009 +0200, Brian Sutherland wrote: Hi, It may seem like a backwards way of doing things, but I have a need for a utility that can maintain a python package index mirror of a Debian repository. The basic idea is to extract the tarballs of Python packages from the Debian reposit

[Distutils] Utility to mirror an egg index from a Debian distribution

2009-05-15 Thread Brian Sutherland
Hi, It may seem like a backwards way of doing things, but I have a need for a utility that can maintain a python package index mirror of a Debian repository. The basic idea is to extract the tarballs of Python packages from the Debian repository and rename them to the original setuptools name. It