Re: [Python-Dev] Proposing PEP 376

2010-04-07 Thread P.J. Eby
At 12:51 PM 4/7/2010 -0500, Ian Bicking wrote: On Wed, Apr 7, 2010 at 12:45 PM, P.J. Eby <p...@telecommunity.com> wrote: Examples under debian:   docutils/__init__.py      ->   located in /usr/local/lib/python2.6/site-packages/   ../../../bin/rs

Re: [Python-Dev] Proposing PEP 376

2010-04-07 Thread Ian Bicking
On Wed, Apr 7, 2010 at 12:45 PM, P.J. Eby wrote: > Examples under debian: >> >>docutils/__init__.py -> located in >> /usr/local/lib/python2.6/site-packages/ >>../../../bin/rst2html.py -> located in /usr/local/bin >>/etc/whatever -> located in

Re: [Python-Dev] Proposing PEP 376

2010-04-07 Thread P.J. Eby
At 11:33 AM 4/7/2010 -0500, Ian Bicking wrote: On Wed, Apr 7, 2010 at 9:40 AM, Tarek Ziadé <ziade.ta...@gmail.com> wrote: so for the PEP : - sys.prefix -> the installation prefix provided by --prefix at installation time - site-packages -> the installation libdir,

Re: [Python-Dev] Proposing PEP 376

2010-04-07 Thread P.J. Eby
At 04:40 PM 4/7/2010 +0200, Tarek Ziadé wrote: On Wed, Apr 7, 2010 at 4:35 PM, P.J. Eby wrote: > At 04:01 PM 4/7/2010 +0200, Tarek Ziadé wrote: >> >> 2010/4/2 P.J. Eby : >> [...] >> > >> > * Paths under the base installation location are relative to the base >> > * Paths not under the base insta

Re: [Python-Dev] Proposing PEP 376

2010-04-07 Thread P.J. Eby
At 12:48 AM 4/4/2010 +0200, Tarek Ziadé wrote: The implementation so far will load zip files founded in the paths, see ZippedDistributionDir/ZippedDistribution. I was saying that it doesn't support sys.path entries of the form: "some/path/to/somezipfile.zip/subdir1" Python works correctly f

Re: [Python-Dev] Proposing PEP 376

2010-04-07 Thread Ian Bicking
On Wed, Apr 7, 2010 at 9:40 AM, Tarek Ziadé wrote: > so for the PEP : > > - sys.prefix -> the installation prefix provided by --prefix at > installation time > - site-packages -> the installation libdir, provided by --install-lib > at installation time How do you actually calculate site-package

Re: [Python-Dev] Proposing PEP 376

2010-04-07 Thread Tarek Ziadé
On Wed, Apr 7, 2010 at 4:35 PM, P.J. Eby wrote: > At 04:01 PM 4/7/2010 +0200, Tarek Ziadé wrote: >> >> 2010/4/2 P.J. Eby : >> [...] >> > >> > * Paths under the base installation location are relative to the base >> > * Paths not under the base installation location, but under the >> > installation

Re: [Python-Dev] Proposing PEP 376

2010-04-07 Thread P.J. Eby
At 04:01 PM 4/7/2010 +0200, Tarek Ziadé wrote: 2010/4/2 P.J. Eby : [...] > > * Paths under the base installation location are relative to the base > * Paths not under the base installation location, but under the installation > prefix, are also stored relative to the base, IF the base location

Re: [Python-Dev] Proposing PEP 376

2010-04-07 Thread Tarek Ziadé
2010/4/2 P.J. Eby : [...] > > * Paths under the base installation location are relative to the base > * Paths not under the base installation location, but under the installation > prefix, are also stored relative to the base, IF the base location is a > subpath of the installation prefix > * All o

Re: [Python-Dev] Proposing PEP 376

2010-04-03 Thread Tarek Ziadé
On Fri, Apr 2, 2010 at 1:56 AM, Glyph Lefkowitz wrote: > First: thank you distutils-sig, and especially Tarek, for spearheading this > effort! Thanks :) > I'm particularly excited about the "Distribution" object that this PEP > specifies.  I've been waiting for a long time to be able to load an

Re: [Python-Dev] Proposing PEP 376

2010-04-03 Thread Tarek Ziadé
2010/4/2 P.J. Eby : [..] > First, I notice the RECORD paths are listed as being relative to sys.prefix; > I was under the impression that these paths were supposed to be relative to > the base installation location of the library (i.e. site-packages in the > default case). > > That is, that while p

Re: [Python-Dev] Proposing PEP 376

2010-04-01 Thread Glyph Lefkowitz
First: thank you distutils-sig, and especially Tarek, for spearheading this effort! I'm particularly excited about the "Distribution" object that this PEP specifies. I've been waiting for a long time to be able to load an object describing a distribution, rather than running setup.py and hopin

Re: [Python-Dev] Proposing PEP 376

2010-04-01 Thread P.J. Eby
At 11:51 PM 4/1/2010 +0200, Tarek Ziadé wrote: Hello, On behalf of the distutils-SIG, I'd like to propose PEP 376 for inclusion. This PEP is about defining a standard for installed Python projects. http://www.python.org/dev/peps/pep-0376/ Very nice; I have only a few questions/suggestions, an

[Python-Dev] Proposing PEP 376

2010-04-01 Thread Tarek Ziadé
Hello, On behalf of the distutils-SIG, I'd like to propose PEP 376 for inclusion. This PEP is about defining a standard for installed Python projects. http://www.python.org/dev/peps/pep-0376/ It was created : - to allow interoperability among all package managers. - to provide a set of APIs in