[Python-Dev] First draft of "sysconfig"

2009-12-12 Thread Tarek Ziadé
nches/tarek_sysconfig/Lib/sysconfig.py?content-type=text%2Fplain I've refactored distutils/ and site.py so they work with this new module, and added deprecation warnings in distutils.sysconfig. All tests pass in the branch, but note that the code is still u

Re: [Python-Dev] First draft of "sysconfig"

2009-12-12 Thread Tarek Ziadé
On Sat, Dec 12, 2009 at 10:35 PM, Brett Cannon wrote: [...] >>  'nt': { >>        'stdlib': '$base/Lib', >>        'platstdlib': '$base/Lib', >>        'purelib': '$base/Lib/site-packages', >>        'platlib': '$base/Lib/site-packages', >>        'include': '$base/include', >>        'platinclude

Re: [Python-Dev] First draft of "sysconfig"

2009-12-12 Thread Tarek Ziadé
On Sat, Dec 12, 2009 at 11:18 PM, Brett Cannon wrote: [..] >> Not really. That's mostly because I reused the existing implementation >> and I found them quite readable in that case. But a string.Formatter >> could work well here too I guess. > > Just figured that with formatters the way of the fut

Re: [Python-Dev] Proposing PEP 386 for addition

2009-12-13 Thread Tarek Ziadé
On Sun, Dec 13, 2009 at 9:53 AM, Ben Finney wrote: > Tarek Ziadé writes: > >> I've started to add another section in the PEP to summarize this >> discussion but then I realized that we are already giving the answer >> in the PEP in the "Requisites and curre

Re: [Python-Dev] Proposing PEP 386 for addition

2009-12-13 Thread Tarek Ziadé
On Fri, Dec 11, 2009 at 11:23 AM, Nick Coghlan wrote: [..] > > Eric's suggestion of NormalizedVersion sounds best to me - it exactly > describes the intended role of the class. > Done. Steve Steiner added a nice functional test that tries the scheme on *all* pypi versions: MacZiade:distutilsver

Re: [Python-Dev] First draft of "sysconfig"

2009-12-14 Thread Tarek Ziadé
On Mon, Dec 14, 2009 at 10:52 AM, M.-A. Lemburg wrote: [..] >> I've refactored distutils/ and site.py so they work with this new >> module, and added deprecation warnings in distutils.sysconfig. > > I think we really need to do something about these kinds of > deprecations. > > IMHO, there is no n

Re: [Python-Dev] First draft of "sysconfig"

2009-12-14 Thread Tarek Ziadé
eturn values.  For example in > IronPython the minimal thing we'd want I think is a "cli" directory for > .NET assemblies.  But there could also be native extensions which are > platform specific so we'd want "cli-x86" and "cli-x64" depending u

Re: [Python-Dev] First draft of "sysconfig"

2009-12-15 Thread Tarek Ziadé
On Tue, Dec 15, 2009 at 1:00 AM, Dino Viehland wrote: [..] > How would you know what other architectures would be valid to pass in > here?  Returning a list would let the implementation say that it knows > a certain set of architectural binaries are valid. How would you use it when a list is retu

Re: [Python-Dev] First draft of "sysconfig"

2009-12-15 Thread Tarek Ziadé
On Tue, Dec 15, 2009 at 5:12 AM, Ben Finney wrote: [..] > >> > I don't think they belong in this PEP; they are a property of the OS >> > install/version, not of the specific Python install/version. > > I think the “sysconfig” specification should allow for *extension*, > without needing a modified

Re: [Python-Dev] First draft of "sysconfig"

2009-12-17 Thread Tarek Ziadé
that - it just jumped > out at me because IronPython and Jython do have multiple platforms > which could be relevant at one time. Sure, and that's why I have asked feedback from IrontPython/Jython people, Thanks for that. Regards Tarek -- Tarek Ziadé | http://ziade.org __

Re: [Python-Dev] Proposing PEP 386 for addition

2009-12-18 Thread Tarek Ziadé
On Sun, Dec 13, 2009 at 12:56 PM, Tarek Ziadé wrote: [..] > > Furthermore, I've seen some patterns in those 5% that can be worked > out so I'll probably be able to lower it to 3% Done: Total Packages : 8690 Already Match : 7645.0 (87.97%) Have Suggestion : 768.0 (8

[Python-Dev] Proposing PEP 345 : Metadata for Python Software Packages 1.2

2009-12-21 Thread Tarek Ziadé
p, a standalone version of Distutils for 2.6/2.5, etc..) to get ready to support them by the time 2.7 final is out. Regards Tarek -- Tarek Ziadé | http://ziade.org ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/list

Re: [Python-Dev] Proposing PEP 345 : Metadata for Python Software Packages 1.2

2009-12-23 Thread Tarek Ziadé
hing to inform about that API in the PEP I guess, >> Finally, as a general formatting request - some blank space between the >> end of the previous example and the header for the next field >> description would make the field descriptions much easier to read. > > Hmm

Re: [Python-Dev] Proposing PEP 345 : Metadata for Python Software Packages 1.2

2009-12-23 Thread Tarek Ziadé
On Wed, Dec 23, 2009 at 11:18 AM, Tarek Ziadé wrote: [..] > > if a "1.2" field is found and no "1.1" field is found: >    metadata 1.2 is used > if a "1.1" field is found and no "1.2" field is found: >    metadata 1.1 is used + a warning is

Re: [Python-Dev] Proposing PEP 345 : Metadata for Python Software Packages 1.2

2009-12-23 Thread Tarek Ziadé
2009/12/23 "Martin v. Löwis" : >> The deprecation of the existing Requires/Provides/Obsoletes fields >> should be more prominent - tucked away below the examples, I missed >> these notices on the first read through (I only noticed that they >> actually had been formally deprecated when I got to the

Re: [Python-Dev] Proposing PEP 345 : Metadata for Python Software Packages 1.2

2009-12-23 Thread Tarek Ziadé
incompatible with existing consumers that expect > a Python package to have an earlier version of the metadata. > Dropping 1.0 may be fine though - but again, this is out of scope > here. I don't understand why you are saying this is out of scope. Shouldn't we state cle

Re: [Python-Dev] Proposing PEP 345 : Metadata for Python Software Packages 1.2

2009-12-24 Thread Tarek Ziadé
flict. If the reference implementation > is right, implementers of the PEP would *also* need to study the > reference implementation to find out what conforming behaviour is. > > This is bad; the PEP should be the only definition of the metadata > format. Ok, I'll remove that part.

Re: [Python-Dev] Proposing PEP 345 : Metadata for Python Software Packages 1.2

2009-12-24 Thread Tarek Ziadé
On Thu, Dec 24, 2009 at 10:26 AM, "Martin v. Löwis" wrote: > David Lyon wrote: >> On Thu, 24 Dec 2009 10:31:09 +0900, "Stephen J. Turnbull" >> wrote: >> >>> Martin's point is that the PEP process doesn't *have* "reference" >>> implementations.  It has *sample* implementations.  It may be useful >

Re: [Python-Dev] Proposing PEP 345 : Metadata for Python Software Packages 1.2

2009-12-27 Thread Tarek Ziadé
On Fri, Dec 25, 2009 at 8:33 AM, Nick Coghlan wrote: > Martin v. Löwis wrote: >>> I'll remove it and push it in Distutils documentation, then might just >>> provide a link in the PEP References. >> >> That sounds fine to me. > > That would address my questions as well - someone looking for a guide

Re: [Python-Dev] Proposing PEP 345 : Metadata for Python Software Packages 1.2

2009-12-27 Thread Tarek Ziadé
On Mon, Dec 28, 2009 at 1:15 AM, wrote: >> On Fri, Dec 25, 2009 at 8:33 AM, Nick Coghlan wrote: >>> Martin v. Löwis wrote: >> FYI we have introduced a range operator, so one may define a range of >> versions. >> This is useful for instance to write: >> >>   Requires-Python: ~=2.5 >> >> Which mea

Re: [Python-Dev] Proposing PEP 345 : Metadata for Python Software Packages 1.2

2009-12-27 Thread Tarek Ziadé
that is inferior or equal to 2.5.0 so 2.5.4 doesn't match > > Also, "Requires-Python: 3" would include all 3.X versions, correct? Correct, because, "Requires-Python: 3" is equivalent to "Requires-Python: ~= 3" which is equivalent t

Re: [Python-Dev] Proposing PEP 345 : Metadata for Python Software Packages 1.2

2009-12-27 Thread Tarek Ziadé
On Mon, Dec 28, 2009 at 1:48 AM, Antoine Pitrou wrote: > Tarek Ziadé gmail.com> writes: >> >> This was ambiguous because it was unclear, as MvL stated,  if "2.5" >> was just "2.5.0" or included >> versions like "2.5.1" or "2.5.2&

Re: [Python-Dev] Proposing PEP 345 : Metadata for Python Software Packages 1.2

2009-12-28 Thread Tarek Ziadé
n't matter if a software doesn't use the .0 Tarek -- Tarek Ziadé | http://ziade.org ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] Proposing PEP 345 : Metadata for Python Software Packages 1.2

2009-12-28 Thread Tarek Ziadé
On Mon, Dec 28, 2009 at 6:20 AM, Tres Seaver wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Tarek Ziadé wrote: >> On Mon, Dec 28, 2009 at 1:41 AM, Sridhar Ratnakumar >> wrote: >> [..] >>> Tarek, >>> >>> I am a bit

Re: [Python-Dev] Proposing PEP 345 : Metadata for Python Software Packages 1.2

2009-12-28 Thread Tarek Ziadé
On Mon, Dec 28, 2009 at 6:16 AM, Tres Seaver wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Terry Reedy wrote: >> On 12/27/2009 7:48 PM, Antoine Pitrou wrote: >>> Tarek Ziadé  gmail.com>  writes: >>>> This was ambiguous because it was uncle

Re: [Python-Dev] Proposing PEP 345 : Metadata for Python Software Packages 1.2

2009-12-28 Thread Tarek Ziadé
On Mon, Dec 28, 2009 at 3:03 AM, MRAB wrote: > Martin v. Löwis wrote: >>> >>> No application developer will quickly figure out what a tilde means. >>> Maybe >>> it means 'roughly', but it requires too much thought and is ambiguous. >>> 2.5 >>> is not roughly 2.5.2. It is the same exactly. >>> >>>

Re: [Python-Dev] Proposing PEP 345 : Metadata for Python Software Packages 1.2

2009-12-28 Thread Tarek Ziadé
On Mon, Dec 28, 2009 at 4:17 AM, Stephen J. Turnbull wrote: > Ben Finney writes: > >  > Instead, the default should be `=='. That is, `Requires-Python: 3' >  > should be equivalent to `Requires-Python: ==3'; and only "3" or "3.0" or >  > "3.0.0" etc. will match. I maintain that is what most people

Re: [Python-Dev] Proposing PEP 345 : Metadata for Python Software Packages 1.2

2009-12-28 Thread Tarek Ziadé
quot;, either "2.5.0". And it seems to me that in the common usage, it means "2.5.x". If we agree on this, then Antoine's proposal seems like the natural solution. Regards, Tarek -- Tarek Ziadé | http://ziade.org ___ Python-De

Re: [Python-Dev] Proposing PEP 345 : Metadata for Python Software Packages 1.2

2009-12-28 Thread Tarek Ziadé
2009/12/28 "Martin v. Löwis" : >> I think Antoine's proposal is good (using the range when "2.5" is >> used, and using 2.5.0 when explicitely >> needed), and fixes Martin's concerns. >> >> So I would be in favor of removing ~= and using Antoine's rule; > > So specifying 2.5 would be a short-hand fo

Re: [Python-Dev] Proposing PEP 345 : Metadata for Python Software Packages 1.2

2009-12-28 Thread Tarek Ziadé
he PEP already works with your examples, and is way less complex that your proposals I think. Regards Tarek -- Tarek Ziadé | http://ziade.org ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsub

Re: [Python-Dev] Proposing PEP 345 : Metadata for Python Software Packages 1.2

2009-12-28 Thread Tarek Ziadé
2009/12/28 "Martin v. Löwis" : [..] >> 2.5.0 would be the notation required to describe this specific micro version. > > I think it would be a shorthand for >=2.5.0, <2.5.1, right? > > Or are you saying that specifying a version is sometimes a shorthand for > a range, and sometimes a shorthand for

Re: [Python-Dev] Proposing PEP 345 : Metadata for Python Software Packages 1.2

2009-12-28 Thread Tarek Ziadé
And if not, is subject to errors by forgetting dashes or dots. Regards, Tarek -- Tarek Ziadé | http://ziade.org ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] Proposing PEP 345 : Metadata for Python Software Packages 1.2

2009-12-28 Thread Tarek Ziadé
On Mon, Dec 28, 2009 at 12:04 PM, Lennart Regebro wrote: > On Mon, Dec 28, 2009 at 12:02, Tarek Ziadé wrote: >> -1. This looks like typos the developer made on his versions definitions. > > Nah. > >> And if not, is subject to errors by forgetting dashes or dots. > &

Re: [Python-Dev] Proposing PEP 345 : Metadata for Python Software Packages 1.2

2009-12-28 Thread Tarek Ziadé
On Mon, Dec 28, 2009 at 12:02 PM, Lennart Regebro wrote: > On Mon, Dec 28, 2009 at 11:54, "Martin v. Löwis" wrote: >> This == operator is fairly common in Debian. For example, the apache2 >> package installed on my system specifies > > Oh, absolutely, but that's when you specify interdependencies

Re: [Python-Dev] Proposing PEP 345 : Metadata for Python Software Packages 1.2

2009-12-28 Thread Tarek Ziadé
On Mon, Dec 28, 2009 at 9:26 PM, Tres Seaver wrote: [..] >> Requires-Dist: zope.interface (3.1.0)   ==> only 3.1.0 > > For completeness, isn't this really "any versino which starts with > 3.1.0, not including post- or pre- releases"?  That particular pacakge > doesn't use more than a third version

Re: [Python-Dev] Proposing PEP 345 : Metadata for Python Software Packages 1.2

2009-12-28 Thread Tarek Ziadé
On Tue, Dec 29, 2009 at 2:17 AM, sstein...@gmail.com wrote: > > On Dec 28, 2009, at 8:00 PM, Ben Finney wrote: > >> The dependency declarations are *not* Python language syntax, and there >> is no need to consider Python language syntax in defining them. > > Agreed. > > We're also not going to be

Re: [Python-Dev] First draft of "sysconfig"

2010-01-01 Thread Tarek Ziadé
le who use > both Python and Jython per-user installation. Right, good idea Tarek -- Tarek Ziadé | http://ziade.org ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] First draft of "sysconfig"

2010-01-01 Thread Tarek Ziadé
On Sat, Dec 12, 2009 at 9:02 PM, Tarek Ziadé wrote: > Hello, > > A while ago I've proposed to refactor the APIs that provides access to > the installation paths and configuration variables at runtime into a > single module called "sysconfig", and make it easier for

[Python-Dev] PEP 386 and PEP 345

2010-01-05 Thread Tarek Ziadé
ects, from PEP 386 point of view. Is there anything else I can do to make those two PEPs accepted ? Regards Tarek -- Tarek Ziadé | http://ziade.org ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] bug triage

2010-01-06 Thread Tarek Ziadé
reciated. Particularly reviewing new and > outstanding issues. Another useful triage I think, is to review the oldest bugs (some of them are > 5 years) and remove the ones that are not relevant anymore, or duplicate with newer entries. Tarek -- Tarek Ziadé | http://ziade.org _

Re: [Python-Dev] bug triage

2010-01-06 Thread Tarek Ziadé
On Wed, Jan 6, 2010 at 1:31 PM, Chris Withers wrote: > Tarek Ziadé wrote: >> >> Another useful triage I think, is to review the oldest bugs (some of >> them are > 5 years) >> and remove the ones that are not relevant anymore, or duplicate with >> newer entr

Re: [Python-Dev] PEP 391 - Please Vote!

2010-01-14 Thread Tarek Ziadé
On Thu, Jan 14, 2010 at 10:23 AM, Vinay Sajip wrote: [..] > So, can you please indicate your vote for or against incorporating PEP 391 > into Python? It would > be nice if I could incorporate the changes before 2.7a3 is released! Ideally, > I would like to check > in the changes unless there are

[Python-Dev] Enhancing the shutil module

2010-01-17 Thread Tarek Ziadé
maintain this "shutil" module for now on (no one is declared as a maintainer in maintainers.rst) since Distutils will become a heavy user of its functions. Any objections/opinions ? Regards, Tarek -- Tarek Ziadé | http://ziade.org ___ Pytho

Re: [Python-Dev] Enhancing the shutil module

2010-01-17 Thread Tarek Ziadé
On Sun, Jan 17, 2010 at 8:55 PM, Brett Cannon wrote: > > > On Sun, Jan 17, 2010 at 11:51, Tarek Ziadé wrote: >> >> Hello, >> >> For 2.7/3.2, I am in the process of removing modules in Distutils that >> can be replaced by calls to existing functions in

Re: [Python-Dev] Enhancing the shutil module

2010-01-17 Thread Tarek Ziadé
x27;s not found, and keep the external "zip" call on Distutils side, so shutil stays 100% stdlib-powered. > Of course Tarek can speak for himself... Thanks for explaining it ! :) Regards Tarek -- Tarek Ziadé | http://ziade.org ___ Pytho

Re: [Python-Dev] Enhancing the shutil module

2010-01-17 Thread Tarek Ziadé
gt;  5) TarredFile.extract ... issue 6584 Looks like some of these are already fixed (I just looked quickly in the bug tracker though) If its not already done and pending, it would be great if you could refactor your fixes into patches for the remaining is

Re: [Python-Dev] Enhancing the shutil module

2010-01-18 Thread Tarek Ziadé
for this new API. We could even add references in the tarfile, zipfile modules documentation pointing to these examples. Regards Tarek -- Tarek Ziadé | http://ziade.org ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listi

Re: [Python-Dev] Enhancing the shutil module

2010-01-18 Thread Tarek Ziadé
king with archives is just a target like another I think. But at the end I am 0- to create a new module, because what really matters to me is to take it out of Distutils :) Regards, Tarek -- Tarek Ziadé | http://ziade.org ___ Python-Dev mailing list

Re: [Python-Dev] Enhancing the shutil module

2010-01-22 Thread Tarek Ziadé
lled with each newly extracted file, so one may apply any process on it. Regards, Tarek -- Tarek Ziadé | http://ziade.org ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python

Re: [Python-Dev] Enhancing the shutil module

2010-01-22 Thread Tarek Ziadé
That's still the same specific use case. Out of curiosity, how many archives have you had the problem with ? If like I think, this is quite rare, I am -1 to introduce it that way because you could handle with a generic callable as mentioned. Regards Tarek -- Tarek Ziadé | htt

Re: [Python-Dev] Enhancing the shutil module

2010-01-22 Thread Tarek Ziadé
On Sat, Jan 23, 2010 at 1:15 AM, Sridhar Ratnakumar wrote: [..] > Will this callable recieve TarInfo objects if the filetype is tarfile? What > would it receive otherwise? How can `_ensure_read_write_access` be > implemented using this callable? I cannot think of a design for this. (In > that case

Re: [Python-Dev] PEP 345 and PEP 386

2010-02-04 Thread Tarek Ziadé
all three PEPs will be > accepted in time for inclusion in Python 2.7. We will work on 376 in the two coming weeks in distutils-SIG and try to come up with something ready for Pycon, if feasible. Thanks for the reviews ! Tarek -- Tarek Ziadé | http://ziade.org

[Python-Dev] Proposal for the getpass module

2010-02-06 Thread Tarek Ziadé
pi/keyring Regards Tarek -- Tarek Ziadé | http://ziade.org ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] PEP 345 and PEP 386

2010-02-09 Thread Tarek Ziadé
On Wed, Feb 10, 2010 at 12:29 AM, Guido van Rossum wrote: [..] > > Since this is done I now approve both PEP 345 and PEP 386 (which is > not to say that small editorial changes to the text couldn't be made). Thanks ! Thanks to all the people that helped in those PEPs Tarek _

[Python-Dev] Another mercurial repo

2010-02-21 Thread Tarek Ziadé
Hello Dirkjan, We are going to start working on a few things in Distutils at Pycon outside the trunk. I was about to start this work in the svn sandbox, but if possible I'd rather have a repo at hg.python.org as well Regards Tarek -- Tarek Ziadé | http://ziad

Re: [Python-Dev] Another mercurial repo

2010-02-21 Thread Tarek Ziadé
On Sun, Feb 21, 2010 at 9:47 PM, Dirkjan Ochtman wrote: > On Sun, Feb 21, 2010 at 21:44, Tarek Ziadé wrote: >> We are going to start working on a few things in Distutils at Pycon >> outside the trunk. > > This would be full branch of Python? In that case, we probably don

Re: [Python-Dev] Another mercurial repo

2010-02-21 Thread Tarek Ziadé
On Sun, Feb 21, 2010 at 10:54 PM, Dirkjan Ochtman wrote: > On Sun, Feb 21, 2010 at 21:56, Tarek Ziadé wrote: >> No that would be just a new fresh empty repository for "distutils 2" >> that will be developed outside the Python stdlib for a while, and will >> enventu

Re: [Python-Dev] Another mercurial repo

2010-02-22 Thread Tarek Ziadé
On Mon, Feb 22, 2010 at 12:04 PM, Dirkjan Ochtman wrote: > On Sun, Feb 21, 2010 at 23:15, Tarek Ziadé wrote: >> Sounds good, thanks > > It's right here: ssh://h...@hg.python.org/repos/distutils2 Thanks a lot ___ Python-Dev mai

Re: [Python-Dev] Another mercurial repo

2010-02-22 Thread Tarek Ziadé
ns, so I think we need to have the same policy here if possible, and use for example a subject prefix to make the filtering easier (which should be simpler with multiple mercurial repositories as a matter of fact) Tarek -- Tarek Ziadé | http://ziade.org ___

Re: [Python-Dev] Another mercurial repo

2010-02-22 Thread Tarek Ziadé
2010/2/23 Dirkjan Ochtman : > 2010/2/23 Tarek Ziadé : >> Why is that ? I do want them as much as someone else would want the >> benchmarks ones I suppose. >> >> The whole subversion repository (including the sandbox) is sending >> mails to python-checkins, so

Re: [Python-Dev] Another mercurial repo

2010-02-22 Thread Tarek Ziadé
2010/2/23 Dirkjan Ochtman : > 2010/2/23 Tarek Ziadé : >> Note sure what do you mean by doubts. I have no doubts I want to >> receive those emails to work on this code ;) > > Some of the other committers didn't think they wanted email on > python-checkins from all t

Re: [Python-Dev] Platform extension for distutils on other interpreters than CPython

2010-02-23 Thread Tarek Ziadé
On Tue, Feb 23, 2010 at 1:50 PM, Maciej Fijalkowski wrote: > Hello. > > I would like to have a feature on platform module (or sys or > somewhere) that can tell distutils or distutils2 that this platform > (be it PyPy or Jython) is not able to compile any C module. The > purpose of this is to make

Re: [Python-Dev] Platform extension for distutils on other interpreters than CPython

2010-02-23 Thread Tarek Ziadé
, so your project still installs. That's basically what people now can use when they have a pure Python fallback version they want to provide in case the C version cannot be built for any reason. Tarek -- Tarek Ziadé | http://ziade.org ___ Pytho

Re: [Python-Dev] Platform extension for distutils on other interpreters than CPython

2010-02-23 Thread Tarek Ziadé
On Tue, Feb 23, 2010 at 2:10 PM, Tarek Ziadé wrote: > On Tue, Feb 23, 2010 at 1:50 PM, Maciej Fijalkowski wrote: >> Hello. >> >> I would like to have a feature on platform module (or sys or >> somewhere) that can tell distutils or distutils2 that this platform >&

Re: [Python-Dev] Platform extension for distutils on other interpreters than CPython

2010-02-23 Thread Tarek Ziadé
On Tue, Feb 23, 2010 at 2:44 PM, Maciej Fijalkowski wrote: > On Tue, Feb 23, 2010 at 2:27 PM, Tarek Ziadé wrote: >> On Tue, Feb 23, 2010 at 2:10 PM, Tarek Ziadé wrote: >>> On Tue, Feb 23, 2010 at 1:50 PM, Maciej Fijalkowski >>> wrote: >>>> Hello. >

[Python-Dev] The fate of Distutils in Python 2.7

2010-02-26 Thread Tarek Ziadé
ponent, so I can start to reorganize the issues in there and reassign new issues to Distutils2 when it applies. Regards Tarek -- Tarek Ziadé | http://ziade.org ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/

Re: [Python-Dev] The fate of Distutils in Python 2.7

2010-02-26 Thread Tarek Ziadé
On Fri, Feb 26, 2010 at 11:13 PM, Brett Cannon wrote: [..] > I assume you want the Distutils2 component to auto-assign to you like > Distutils currently does? If so I can add the component for you if people > don't object to the new component. Sounds good -- Thanks ___

Re: [Python-Dev] Status of PEP 381

2010-03-01 Thread Tarek Ziadé
s welcome of course on any part. As Terry suggested you can send a mail at Catalog, I'll catch up on the thread once its started, to list possible tasks. Regards, Tarek -- Tarek Ziadé | http://ziade.org ___ Python-Dev mailing list Pyt

Re: [Python-Dev] The fate of Distutils in Python 2.7

2010-03-03 Thread Tarek Ziadé
Just FYI : I am post-poning the revert of Distutils to 2.6.x right after 2.7a4 has been tagged to avoid any problems (this is in 3 days) The revert is ready but 3 days is not long enough to make sure everything is going smooth. On Fri, Feb 26, 2010 at 10:44 PM, Tarek Ziadé wrote: > He

Re: [Python-Dev] At least one package management tool for 2.7

2010-03-24 Thread Tarek Ziadé
this feature on the top of distutils (and distutils2 later I guess) and is not hard to install on the top of Python. But the "auto-update" story seems interesting, can you expand on this ? Tarek -- Tarek Ziadé | http://ziade.org ___ Python-

Re: [Python-Dev] At least one package management tool for 2.7

2010-03-24 Thread Tarek Ziadé
On Wed, Mar 24, 2010 at 12:20 PM, anatoly techtonik wrote: > On Wed, Mar 24, 2010 at 12:26 PM, Tarek Ziadé wrote: >> >> Distutils2 is planned to be reintegrated in the stdlib in Python 3.3, >> and my goal is to release it when Python 2.7 final is released. > > Does th

Re: [Python-Dev] [Distutils] At least one package management tool for 2.7

2010-03-24 Thread Tarek Ziadé
On Wed, Mar 24, 2010 at 12:50 PM, Darren Dale wrote: > On Wed, Mar 24, 2010 at 6:26 AM, Tarek Ziadé wrote: >> The open question is: do we want to include a full installer that >> takes care of installing / removing dependencies as well ? >> >> I think not. Pip alrea

Re: [Python-Dev] Bootstrap script for package management tool in Python 2.7 (Was: Re: [Distutils] At least one package management tool for 2.7)

2010-03-29 Thread Tarek Ziadé
ould need to do is propose an extension to PEP 376, we are currently working on, then we can add it there once people have discussed it on distutils-SIG, or maybe create a new PEP if the topic is too big to fit in 376. > > > P.S. Please be careful to reply to re

Re: [Python-Dev] Bootstrap script for package management tool in Python 2.7 (Was: Re: [Distutils] At least one package management tool for 2.7)

2010-03-29 Thread Tarek Ziadé
tely its business. > My vision is that decision about having bootstrap package or not in > 2.7 should be in python-dev and specific packaging, implementation and > pip/distutils/distribute questions in distutils-sig. If the mentioned bootstrap script is about a package managment system

Re: [Python-Dev] Bootstrap script for package management tool in Python 2.7 (Was: Re: [Distutils] At least one package management tool for 2.7)

2010-03-29 Thread Tarek Ziadé
On Mon, Mar 29, 2010 at 11:15 AM, Tarek Ziadé wrote: [..] > Depending on how you call a Python user, I disagree here. Many people > use pip and distribute. s/how/who :) ___ Python-Dev mailing list Python-Dev@python.org http://mail.pyth

Re: [Python-Dev] [Distutils] Bootstrap script for package management tool in Python 2.7 (Was: Re: At least one package management tool for 2.7)

2010-03-29 Thread Tarek Ziadé
e a look in this guide though, for guidance" I still think you should remove python-dev from the cc list ;) Tarek -- Tarek Ziadé | http://ziade.org ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] Bootstrap script for package management tool in Python 2.7 (Was: Re: [Distutils] At least one package management tool for 2.7)

2010-03-29 Thread Tarek Ziadé
Anatoly, I am now answering only in Distutils-SIG. On Mon, Mar 29, 2010 at 3:45 PM, anatoly techtonik wrote: [..] ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/m

[Python-Dev] Proposing PEP 376

2010-04-01 Thread Tarek Ziadé
uce another PEP for that, that will not interfer with PEP 376. Regards Tarek -- Tarek Ziadé | http://ziade.org ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman

Re: [Python-Dev] Proposing PEP 376

2010-04-03 Thread Tarek Ziadé
is. > Anyway, that's my first pass through; I think the RECORD section may need > further fleshing out (e.g., specifying a particular csv-module dialect) in > order to ensure that the spec is sufficiently rigorous for multiple tools to > consume/produce compatible files. Yes, and we

Re: [Python-Dev] Proposing PEP 376

2010-04-03 Thread Tarek Ziadé
tions that are not yet installed where these infos are still hidden in setup.py. Although we are currently working in distutils2 to get rid of setup.py and have a pure static metadata file. > On Apr 1, 2010, at 5:51 PM, Tarek Ziadé wrote: > > - to provide a basic *uninstaller* feature in

Re: [Python-Dev] Proposing PEP 376

2010-04-07 Thread Tarek Ziadé
kages directory was not under sys.prefix, we would use an absolute path for files under sys.prefix but not in site-packages. (like rst2html.py) Regards Tarek -- Tarek Ziadé | http://ziade.org ___ Python-Dev mailing list Python-Dev@python.org http://mail.

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 und

[Python-Dev] PEP 376

2010-04-22 Thread Tarek Ziadé
it in pkgutil for Python 3.2 and provide a backport in distutils2. (In fact Michael Mulich has started this work in distutils2, so it might be done the other way) The next big piece is the FHS-compatible handling of resource files, which will worth a PEP on its own. Regards Tarek -- Tarek

Re: [Python-Dev] PEP 376

2010-04-22 Thread Tarek Ziadé
2010/4/22 Eric Smith : > Jeroen Ruigrok van der Werven wrote: >> >> -On [20100422 10:55], Tarek Ziadé (ziade.ta...@gmail.com) wrote: >>> >>> The next big piece is the FHS-compatible handling of resource files, >>> which will worth a PEP on its own. >

Re: [Python-Dev] PEP 376

2010-04-22 Thread Tarek Ziadé
2010/4/22 P.J. Eby : > At 10:54 AM 4/22/2010 +0200, Tarek Ziadé wrote: >> >> Hello, >> >> I think I went through all the latest feedback regarding PEP 376. >> >> There will be still some work of course, on the implementation side >> (for instance the Zi

Re: [Python-Dev] PEP 376

2010-04-26 Thread Tarek Ziadé
On Thu, Apr 22, 2010 at 6:05 PM, Tarek Ziadé wrote: > 2010/4/22 P.J. Eby : >> At 10:54 AM 4/22/2010 +0200, Tarek Ziadé wrote: >>> >>> Hello, >>> >>> I think I went through all the latest feedback regarding PEP 376. >>> >>> Ther

Re: [Python-Dev] what to do if you don't want your module in Debian

2010-04-26 Thread Tarek Ziadé
erly, __file__ is what developer use when they need their projects to be portable.. Notice that we have started to work on fixing this - http://hg.python.org/distutils2/file/tip/docs/design/wiki.rst Tarek -- Tarek Ziadé | http://ziade.org ___ Python-De

Re: [Python-Dev] what to do if you don't want your module in Debian

2010-04-26 Thread Tarek Ziadé
On Mon, Apr 26, 2010 at 10:10 PM, Piotr Ożarowski wrote: > [Tarek Ziadé, 2010-04-26] >> Great hints, I'll try to follow them... and they could make a good >> section in the Hitchhiker's guide to packaging ;) > > How about these two: > http://us.pycon.org

Re: [Python-Dev] what to do if you don't want your module in Debian

2010-04-26 Thread Tarek Ziadé
On Mon, Apr 26, 2010 at 11:45 PM, Barry Warsaw wrote: [..] > > For example, there's a nice tool called 'Quickly' that builds application > templates using best practices.  It is opinionated, but designed for the > opportunistic programmer.  I've been thinking about writing a Python > application a

Re: [Python-Dev] what to do if you don't want your module in Debian

2010-04-26 Thread Tarek Ziadé
On Mon, Apr 26, 2010 at 11:46 PM, Barry Warsaw wrote: > On Apr 26, 2010, at 09:39 PM, Tarek Ziadé wrote: > >>You should be permissive on that one. Until we know how to describe resource >>files properly, __file__ is what developer use when they need their projects >>to

Re: [Python-Dev] what to do if you don't want your module in Debian

2010-04-26 Thread Tarek Ziadé
On Mon, Apr 26, 2010 at 11:56 PM, Robert Kern wrote: [..] > > I don't think the OP is really speaking against using __file__ per se, but > rather putting data into the package however it is accessed. The > Linux-packager preferred practice is to install into the appropriate > /usr/shared/ subdirec

Re: [Python-Dev] what to do if you don't want your module in Debian

2010-04-27 Thread Tarek Ziadé
On Tue, Apr 27, 2010 at 1:24 AM, Toshio Kuratomi wrote: > On Mon, Apr 26, 2010 at 05:46:55PM -0400, Barry Warsaw wrote: >> On Apr 26, 2010, at 09:39 PM, Tarek Ziadé wrote: >> >> >You should be permissive on that one. Until we know how to describe resource >> >

Re: [Python-Dev] what to do if you don't want your module in Debian

2010-04-27 Thread Tarek Ziadé
global list of variables found in Python. Then, instead of importing these values (in our plans, the variables are statically defined), developers will do: pkgutil.open('MANPATH', 'foo'), where foo.txt is a file under /somefunkypath in your example Since you are building

Re: [Python-Dev] Two small PEP ideas

2010-05-01 Thread Tarek Ziadé
ill need some kind of Pep dictator if there's no consensus. So what about electing a BPC every year ? Tarek -- Tarek Ziadé | http://ziade.org ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Uns

Re: [Python-Dev] Two small PEP ideas

2010-05-01 Thread Tarek Ziadé
ts so I guess it works too. > > Regards > > Antoine. > > > ___ > Python-Dev mailing list > Python-Dev@python.org > http://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: > http://mail.python.org/mailman/options/python-dev/ziade.tarek%40gmail.com > -- Tarek

Re: [Python-Dev] Alias for distutils.file_util.write_file in e.g. shutils

2010-05-02 Thread Tarek Ziadé
t; even similar. > > Q: >  - Is it a good idea to provide a similar function in >    e.g. shutils module ? A: Yes :) Basically, anything useful in distutils.file_util and distutils.dir_util can maove in Shutil. That's why I added make_archive (and unpack_archive) Please add an issue,

[Python-Dev] distutils2 checking mails

2010-07-04 Thread Tarek Ziadé
s, to propose something. Regards Tarek -- Tarek Ziadé | http://ziade.org ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%4

Re: [Python-Dev] Thank yous

2010-07-04 Thread Tarek Ziadé
On Sun, Jul 4, 2010 at 7:16 PM, Paul Moore wrote: > On 4 July 2010 17:02, Benjamin Peterson wrote: >> Now that Python 2.7 is out, I'd like to thank a few of the people who >> made it possible: > > And not forgetting Benjamin himself for managing the whole thing! +1. Thanks a lot for your hard wo

Re: [Python-Dev] Python Language Summit EuroPython 2010

2010-07-21 Thread Tarek Ziadé
can work out of the box with any PyPI server out there. Tarek -- Tarek Ziadé | http://ziade.org ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/p

[Python-Dev] Distutils reverted in py3k

2010-07-22 Thread Tarek Ziadé
onent in the tracker. Let me know if you have/see any problem this revert created. Regards Tarek -- Tarek Ziadé | http://ziade.org ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe:

<    1   2   3   4   5   >