Re: [Distutils] Python people want CPAN and how the latter came about

2009-12-23 Thread Lennart Regebro
On Wed, Dec 23, 2009 at 02:56, David Lyon david.l...@preisshare.net wrote: On Wed, 23 Dec 2009 01:01:11 +0100, Lennart Regebro rege...@gmail.com wrote: OK, so in the Perl community there is apparently a lot of confusion on what CPAN is. CPAN is plain and simple. There is no confusion,

Re: [Distutils] Python people want CPAN and how the latter came about

2009-12-23 Thread Lennart Regebro
2009/12/23 David Cournapeau courn...@gmail.com: which is why I am trying to get some agreement on at least some low level mechanisms which can be shared between tools. The exact thing you already complain last time this was discussed. And then I also asked a question, which I have asked many

Re: [Distutils] Python people want CPAN and how the latter came about

2009-12-23 Thread Tarek Ziadé
On Wed, Dec 23, 2009 at 5:12 AM, David Cournapeau courn...@gmail.com wrote: On Tue, Dec 22, 2009 at 10:35 PM, Tarek Ziadé ziade.ta...@gmail.com wrote: When you say which could be solved relatively easily I suggest that you take the time to add concise and precise proposals in bugs.python.org

Re: [Distutils] Finishing PEP 345

2009-12-23 Thread Tarek Ziadé
On Tue, Dec 22, 2009 at 2:13 AM, Martin v. Löwis mar...@v.loewis.de wrote: FYI. This Distutils-SIG thread is about proposing PEP 345 and impacts PyPI. So if there's anything that look suspicious to anyone, please join the discussion at Distutils-SIG In a number of places (Requires-Dist,

Re: [Distutils] Python people want CPAN and how the latter came about

2009-12-23 Thread David Cournapeau
On Wed, Dec 23, 2009 at 7:28 PM, Tarek Ziadé ziade.ta...@gmail.com wrote: On Wed, Dec 23, 2009 at 5:12 AM, David Cournapeau courn...@gmail.com wrote: On Tue, Dec 22, 2009 at 10:35 PM, Tarek Ziadé ziade.ta...@gmail.com wrote: When you say which could be solved relatively easily I suggest that

Re: [Distutils] Python people want CPAN and how the latter came about

2009-12-23 Thread Tarek Ziadé
On Wed, Dec 23, 2009 at 1:14 PM, David Cournapeau courn...@gmail.com wrote: On Wed, Dec 23, 2009 at 7:28 PM, Tarek Ziadé ziade.ta...@gmail.com wrote: On Wed, Dec 23, 2009 at 5:12 AM, David Cournapeau courn...@gmail.com wrote: On Tue, Dec 22, 2009 at 10:35 PM, Tarek Ziadé ziade.ta...@gmail.com

Re: [Distutils] Finishing PEP 345

2009-12-23 Thread Martin v. Löwis
Right, this is not good because the comma means and then or I see two ways to fix this: - introduce groups, and say the the comma is or inside a group: 0.9, (1.0, !=1.3.4, 2.0), 3.4 == 0.9 or (1.0 and !=1.3.4 and 2.0) or 3.4 This I don't like. It may be the disjunctive normal

Re: [Distutils] Finishing PEP 345

2009-12-23 Thread Tarek Ziadé
2009/12/23 Martin v. Löwis mar...@v.loewis.de: [..] There is a third solution: don't support or. The only example in the PEP that assumes or (i.e. 2.5, 2.6) could be rewritten as =2.5,2.7. Sure, that's even simpler, BTW: how is == specified? Is 2.5.4 == 2.5? If not, would 2.5, 2.6 really

Re: [Distutils] Finishing PEP 345

2009-12-23 Thread Martin v. Löwis
BTW: how is == specified? Is 2.5.4 == 2.5? If not, would 2.5, 2.6 really mean either Python 2.5 or Python 2.6, but neither 2.5.1 nor 2.6.1? Yes, 2.5 concerns all 2.5.x versions, but a micro version could be given as well I am changing this Are you sure this is a good idea? Does that

Re: [Distutils] Finishing PEP 345

2009-12-23 Thread Tarek Ziadé
2009/12/23 Martin v. Löwis mar...@v.loewis.de: BTW: how is == specified? Is 2.5.4 == 2.5? If not, would 2.5, 2.6 really mean either Python 2.5 or Python 2.6, but neither 2.5.1 nor 2.6.1? Yes, 2.5 concerns all 2.5.x versions, but a micro version could be given as well I am changing this

Re: [Distutils] Finishing PEP 345

2009-12-23 Thread Tarek Ziadé
2009/12/23 Tarek Ziadé ziade.ta...@gmail.com: [..] .. makes sure Python 2.5 users have that security patch s/Python 2.5 users/Python 2.6 users ___ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig

Re: [Distutils] Python people want CPAN and how the latter came about

2009-12-23 Thread Sridhar Ratnakumar
On 12/22/2009 10:15 AM, Lennart Regebro wrote: Another point that I really like about the service is that the distribution pages provide links to many other related services that are run by other volunteers. Take for examplehttp://search.cpan.org/dist/PAR-Repository-Client/ There is a

[Distutils] buildout examples clarification

2009-12-23 Thread Jeff Kunce
I am using the buildout page on pypi as a reference   http://pypi.python.org/pypi/zc.buildout What is the python shell used for the examples?  I can follow what is going on, but I'm not familiar with some of the functions used. For example: write(sample_buildout, 'recipes', 'mkdir.py', ...)

Re: [Distutils] buildout examples clarification

2009-12-23 Thread Jim Fulton
On Wed, Dec 23, 2009 at 2:38 PM, Jeff Kunce jjku...@gmail.com wrote: I am using the buildout page on pypi as a reference   http://pypi.python.org/pypi/zc.buildout What is the python shell used for the examples?  I can follow what is going on, but I'm not familiar with some of the functions

Re: [Distutils] Finishing PEP 345

2009-12-23 Thread Martin v. Löwis
Tarek Ziadé wrote: 2009/12/23 Martin v. Löwis mar...@v.loewis.de: BTW: how is == specified? Is 2.5.4 == 2.5? If not, would 2.5, 2.6 really mean either Python 2.5 or Python 2.6, but neither 2.5.1 nor 2.6.1? Yes, 2.5 concerns all 2.5.x versions, but a micro version could be given as well I

Re: [Distutils] Python people want CPAN and how the latter came about

2009-12-23 Thread Martin v. Löwis
One solution I can think of is this: make PyPI only do the job of PAUSE as it does for CPAN; and implement a CPAN like simple directory structure to store packages; make PyPI use that as the package data store I don't know what PAUSE is, but I think there is what you want at

Re: [Distutils] buildout examples clarification

2009-12-23 Thread Reinout van Rees
On 12/23/09 8:38 PM, Jeff Kunce wrote: I am using the buildout page on pypi as a reference http://pypi.python.org/pypi/zc.buildout What is the python shell used for the examples? I can follow what is going on, but I'm not familiar with some of the functions used. For example:

Re: [Distutils] Finishing PEP 345

2009-12-23 Thread Tarek Ziadé
2009/12/23 Martin v. Löwis mar...@v.loewis.de: Why is that a use case for 2.5 concerns all 2.5.x versions? In this example, the version string 2.5 isn't used at all. You asked Are you sure this is a good idea? when I said micro version could be given as well, so I gave you an example where a

Re: [Distutils] buildout examples clarification

2009-12-23 Thread Jim Fulton
On Wed, Dec 23, 2009 at 4:05 PM, Reinout van Rees rein...@vanrees.org wrote: On 12/23/09 8:38 PM, Jeff Kunce wrote: I am using the buildout page on pypi as a reference   http://pypi.python.org/pypi/zc.buildout What is the python shell used for the examples?  I can follow what is going on,

Re: [Distutils] buildout examples clarification

2009-12-23 Thread Tarek Ziadé
On Wed, Dec 23, 2009 at 10:05 PM, Reinout van Rees rein...@vanrees.org wrote: On 12/23/09 8:38 PM, Jeff Kunce wrote: I am using the buildout page on pypi as a reference   http://pypi.python.org/pypi/zc.buildout What is the python shell used for the examples?  I can follow what is going on,

Re: [Distutils] Python people want CPAN and how the latter came about

2009-12-23 Thread Sridhar Ratnakumar
On 12/23/2009 12:18 PM, Martin v. Löwis wrote: One solution I can think of is this: make PyPI only do the job of PAUSE as it does for CPAN; and implement a CPAN like simple directory structure to store packages; make PyPI use that as the package data store I don't know what PAUSE is, but

Re: [Distutils] Python people want CPAN and how the latter came about

2009-12-23 Thread Sridhar Ratnakumar
On 12/23/2009 1:19 PM, Sridhar Ratnakumar wrote: What /packages/source/ lacks is: 1/ Missing packages (eg: Twisted is not there); which is why easy_install/pip had to resolve to scrapping project webpages for guessing download links. In CPAN, almost all module authors upload their sources via

Re: [Distutils] Python people want CPAN and how the latter came about

2009-12-23 Thread Lennart Regebro
On Wed, Dec 23, 2009 at 20:24, Sridhar Ratnakumar sridh...@activestate.com wrote: The reason why PyPI does not have such third-party services - I think - is that it lacks the CPAN like simple directory structure that can be easily mirrored using ftp/rsync, to wit: Nah, you can do that via

Re: [Distutils] Python people want CPAN and how the latter came about

2009-12-23 Thread David Cournapeau
On Wed, Dec 23, 2009 at 10:08 PM, Tarek Ziadé ziade.ta...@gmail.com wrote: On Wed, Dec 23, 2009 at 1:14 PM, David Cournapeau courn...@gmail.com wrote: On Wed, Dec 23, 2009 at 7:28 PM, Tarek Ziadé ziade.ta...@gmail.com wrote: On Wed, Dec 23, 2009 at 5:12 AM, David Cournapeau courn...@gmail.com

Re: [Distutils] Python people want CPAN and how the latter came about

2009-12-23 Thread Tarek Ziadé
On Wed, Dec 23, 2009 at 11:12 PM, David Cournapeau courn...@gmail.com wrote: [..] We are discussing these options as a matter of fact, in PEP 376. I don't see data files mentioned in PEP 376, nor how the PEP is related to this discussion. The PEP contains what has been already discussed. As

Re: [Distutils] Python people want CPAN and how the latter came about

2009-12-23 Thread Glyph Lefkowitz
On Dec 23, 2009, at 4:33 PM, Lennart Regebro wrote: 1/ Missing packages (eg: Twisted is not there) The Twisted guys do not upload their packages to PyPI. I think that's a mistake, but it's hardly PyPI's fault. There is no law saying you have to use CPAN either. For what it's worth, we

Re: [Distutils] Python people want CPAN and how the latter came about

2009-12-23 Thread kiorky
Lennart Regebro a écrit : On Wed, Dec 23, 2009 at 20:24, Sridhar Ratnakumar sridh...@activestate.com wrote: The Twisted guys do not upload their packages to PyPI. I think that's The tiny 10MB upload is a blocker i think also. For example, for 'minitage.paste.extras', it's not hosted on

Re: [Distutils] Python people want CPAN and how the latter came about

2009-12-23 Thread Sridhar Ratnakumar
On 12/23/2009 1:33 PM, Lennart Regebro wrote: On Wed, Dec 23, 2009 at 20:24, Sridhar Ratnakumar sridh...@activestate.com wrote: The reason why PyPI does not have such third-party services - I think - is that it lacks the CPAN like simple directory structure that can be easily mirrored using

Re: [Distutils] Python people want CPAN and how the latter came about

2009-12-23 Thread Tarek Ziadé
On Wed, Dec 23, 2009 at 11:20 PM, Glyph Lefkowitz gl...@twistedmatrix.com wrote: On Dec 23, 2009, at 4:33 PM, Lennart Regebro wrote: 1/ Missing packages (eg: Twisted is not there) The Twisted guys do not upload their packages to PyPI. I think that's a mistake, but it's hardly PyPI's fault.

Re: [Distutils] Python people want CPAN and how the latter came about

2009-12-23 Thread Sridhar Ratnakumar
On 12/23/2009 2:32 PM, Tarek Ziadé wrote: On Wed, Dec 23, 2009 at 11:20 PM, Glyph Lefkowitz gl...@twistedmatrix.com wrote: On Dec 23, 2009, at 4:33 PM, Lennart Regebro wrote: 1/ Missing packages (eg: Twisted is not there) The Twisted guys do not upload their packages to PyPI. I think

Re: [Distutils] Python people want CPAN and how the latter came about

2009-12-23 Thread Tarek Ziadé
On Wed, Dec 23, 2009 at 11:51 PM, Sridhar Ratnakumar sridh...@activestate.com wrote: [..] Note that it wouldn't take long to override the upload command so it works independantly from any other *dist command. I could even add a --dist-file option to it so you can point an existing archive to

Re: [Distutils] Python people want CPAN and how the latter came about

2009-12-23 Thread David Lyon
On Wed, 23 Dec 2009 10:08:24 +0100, Lennart Regebro rege...@gmail.com wrote: There is no .tar.gz, .zip, .bz2, .exe, .msi or .egg concept of packages in perl. And having to pick one.. that may or may not be right for your configuration. So your usecase, that a Windows user refuses to install

Re: [Distutils] Python people want CPAN and how the latter came about

2009-12-23 Thread David Lyon
Hi Srid, On Wed, 23 Dec 2009 14:28:10 -0800, Sridhar Ratnakumar sridh...@activestate.com wrote: .. what I was referring to is enabling the mindset: a simple *self-contained* (i.e., without having to use an API to get metadata) directory structure that can simply be mirrored by using

Re: [Distutils] Python people want CPAN and how the latter came about

2009-12-23 Thread exarkun
On 23 Dec, 10:32 pm, ziade.ta...@gmail.com wrote: On Wed, Dec 23, 2009 at 11:20 PM, Glyph Lefkowitz gl...@twistedmatrix.com wrote: On Dec 23, 2009, at 4:33 PM, Lennart Regebro wrote: 1/ Missing packages (eg: Twisted is not there) The Twisted guys do not upload their packages to PyPI. I think

Re: [Distutils] buildout examples clarification

2009-12-23 Thread Jeff Kunce
Thanks for all the responses. I could understand the examples - and wanted to get at the tools that were used. Your pointers are helpful. I was trying to understand some finer points of buildout, without necessarily learning all its internal workings. The tests, of course, would be a good

Re: [Distutils] Python people want CPAN and how the latter came about

2009-12-23 Thread exarkun
On 23 Dec, 10:51 pm, sridh...@activestate.com wrote: On 12/23/2009 2:32 PM, Tarek Ziad� wrote: On Wed, Dec 23, 2009 at 11:20 PM, Glyph Lefkowitz gl...@twistedmatrix.com wrote: On Dec 23, 2009, at 4:33 PM, Lennart Regebro wrote: 1/ Missing packages (eg: Twisted is not there) The

Re: [Distutils] Python people want CPAN and how the latter came about

2009-12-23 Thread David Cournapeau
On Thu, Dec 24, 2009 at 7:18 AM, Tarek Ziadé ziade.ta...@gmail.com wrote: On Wed, Dec 23, 2009 at 11:12 PM, David Cournapeau courn...@gmail.com wrote: [..] We are discussing these options as a matter of fact, in PEP 376. I don't see data files mentioned in PEP 376, nor how the PEP is related

Re: [Distutils] Python people want CPAN and how the latter came about

2009-12-23 Thread sstein...@gmail.com
On Dec 23, 2009, at 9:59 PM, exar...@twistedmatrix.com wrote: What's with the interest in having packages hosted on PyPI? I'm not specifically opposed to this, but I don't see any reason it would benefit anyone either. It'd be awesome if someone could explain this. Perhaps if the answer

Re: [Distutils] Python people want CPAN and how the latter came about

2009-12-23 Thread Ben Finney
exar...@twistedmatrix.com writes: What's with the interest in having packages hosted on PyPI? Economies of scale. There are already numerous tools that work (to greater or lesser degree) with PyPI, and the developers of PyPI have the burden of compatibility with published interfaces. That

Re: [Distutils] Python people want CPAN and how the latter came about

2009-12-23 Thread Lennart Regebro
On Wed, Dec 23, 2009 at 23:20, Glyph Lefkowitz gl...@twistedmatrix.com wrote: If someone would like to give us a good reason to upload Not having multiple points of failure. When you need to set up an environment for testing or production with all the parts you need, the more servers you need to

Re: [Distutils] Python people want CPAN and how the latter came about

2009-12-23 Thread Lennart Regebro
On Wed, Dec 23, 2009 at 23:28, Sridhar Ratnakumar sridh...@activestate.com wrote: I suggested PyPI to disallow mere project listings (without sources) and require sources to be stored in the server. One way to achieve this is requiring package authors to use the `sdist upload` toolchain Which

Re: [Distutils] Python people want CPAN and how the latter came about

2009-12-23 Thread Lennart Regebro
On Thu, Dec 24, 2009 at 06:06, sstein...@gmail.com sstein...@gmail.com wrote: Right now, installing e.g. Twisted, requires finding the website, figuring out which exact file to download, then figuring out exactly how to get it installed. Nope. #

Re: [Distutils] Python people want CPAN and how the latter came about

2009-12-23 Thread Lennart Regebro
On Thu, Dec 24, 2009 at 00:10, David Lyon david.l...@preisshare.net wrote: On Wed, 23 Dec 2009 10:08:24 +0100, Lennart Regebro rege...@gmail.com wrote: There is no .tar.gz, .zip, .bz2, .exe, .msi or .egg concept of packages in perl. And having to pick one.. that may or may not be right for

Re: [Distutils] Python people want CPAN and how the latter came about

2009-12-23 Thread Lennart Regebro
On Wed, Dec 23, 2009 at 23:32, Tarek Ziadé ziade.ta...@gmail.com wrote: I could even add a --dist-file option to it so you can point an existing archive to push at PyPI, so running sdist or another *dist command wouldn't be mandatory anymore I think that would be an excellent idea. --