Re: [Distutils] Python Package Management Sucks

2008-10-03 Thread Josselin Mouette
Le vendredi 03 octobre 2008 à 15:57 +1300, Greg Ewing a écrit : On Thu, Oct 02, 2008 at 01:20:45PM +0200, Josselin Mouette wrote: Sorry, but things don’t work this way. Anything that is *not* a .py file should not land in the python module directories. So where *should* they go, on

Re: [Distutils] [zc.buildout] running in safe mode

2008-10-03 Thread Jim Fulton
On Oct 2, 2008, at 6:37 PM, Ian Bicking wrote: Jim Fulton wrote: On Oct 2, 2008, at 6:15 PM, Ian Bicking wrote: Jim Fulton wrote: I know it is a bad practice for a recipe to return some paths that contains important data in the install() method, because zc.buildout might remove them.

Re: [Distutils] [zc.buildout] running in safe mode

2008-10-03 Thread Tarek Ziadé
On Fri, Oct 3, 2008 at 2:57 PM, Jim Fulton [EMAIL PROTECTED] wrote: In a system in which most data is managed automatically, asking the user before doing anything that might remove or overwrite data is, in my experience, counterproductive. It's like a security system that constantly asks for

Re: [Distutils] [zc.buildout] running in safe mode

2008-10-03 Thread Chris Withers
Tarek Ziadé wrote: [buildout] ... prompt-before-delete = var ... Or maybe: [buildout] ... prompt-before-delete = var/filestorage/*.fs I like this idea :-) Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk

Re: [Distutils] [Catalog-sig] PEP for distutils

2008-10-03 Thread Chris Withers
Phillip J. Eby wrote: Nope. And it can't possibly do so, unless it contains dependency data for every possible variation of the package. For example, a package might dynamically declare dependency on ctypes, depending on whether you're installing it for Python 2.4 or Python 2.5.

Re: [Distutils] just use debian

2008-10-03 Thread Chris Withers
Josselin Mouette wrote: This information is not accessible directly at import time. Two questions as answers: - why does it need to be? - why not? If you want to rely on it to check the API compatibility, you’ll end up doing the horrible things pygtk and gst-python did. And believe me,

[Distutils] specifying dependencies

2008-10-03 Thread Chris Withers
Ian Bicking wrote: Say I have a package that represents an application. We'll call it FooBlog. I release version 1.0. It uses the Turplango web framework (1.5 at the time of release) and the Storchalmy ORM (0.4), and Turplango uses HardJSON (1.2.1). I want my version 1.0 to keep working.

Re: [Distutils] [Catalog-sig] pre-PEP : Synthesis of previous threads, and irc talks + proposals

2008-10-03 Thread Chris Withers
Phillip J. Eby wrote: I think we need a standard for tools interop (ala WSGI), not implementation tweaks for the existing tools. Agreed. 4/ let's change PyPI to make it work with the new metadata and to enforce a few things Enforcements: - a binary distribution cannot be uploaded if a

Re: [Distutils] specifying dependencies

2008-10-03 Thread Ian Bicking
Chris Withers wrote: Ian Bicking wrote: Say I have a package that represents an application. We'll call it FooBlog. I release version 1.0. It uses the Turplango web framework (1.5 at the time of release) and the Storchalmy ORM (0.4), and Turplango uses HardJSON (1.2.1). I want my version

Re: [Distutils] just use debian

2008-10-03 Thread Josselin Mouette
Le vendredi 03 octobre 2008 à 16:06 +0100, Chris Withers a écrit : Josselin Mouette wrote: This information is not accessible directly at import time. Two questions as answers: - why does it need to be? It does not strictly need to be, it’s just more convenient ; especially since you

Re: [Distutils] [Catalog-sig] pre-PEP : Synthesis of previous threads, and irc talks + proposals

2008-10-03 Thread Phillip J. Eby
At 04:18 PM 10/3/2008 +0100, Chris Withers wrote: Phillip J. Eby wrote: It could only do this for specific binaries, since dependencies can be dynamic. They should not be dynamic :-( Too bad. They are, because they have to be in order to support more than one platform and/or Python version

Re: [Distutils] [zc.buildout] running in safe mode

2008-10-03 Thread Ian Bicking
Jim Fulton wrote: Instead of using open(), etc, to write files, there's an instance of Maker which holds some of the settings (--interactive, --simulate, a base directory). Then you do all your file operations like: maker.ensure_file('path/to/file.txt', content) If that file exists with

Re: [Distutils] AMP, anyone? (Re: just use debian)

2008-10-03 Thread Greg Ewing
David Cournapeau wrote: Do you have a link toward this. I could not find much info with google on this Assembly Classes for Eiffel. It seems to be difficult to find any in-depth information about it on the web. There's a summary of the syntax here:

Re: [Distutils] What's the difference between --index-url and --find-links?

2008-10-03 Thread Tarek Ziadé
On Sat, Oct 4, 2008 at 1:38 AM, Eric Smith [EMAIL PROTECTED] wrote: I understand that --index-url is single valued, and --find-links is multi-valued. But what's the semantic difference between them? From my reading, it sounds like they both point to pages that contain links to eggs (or other

Re: [Distutils] What's the difference between --index-url and --find-links?

2008-10-03 Thread Eric Smith
Tarek Ziadé wrote: On Sat, Oct 4, 2008 at 1:38 AM, Eric Smith [EMAIL PROTECTED] wrote: I understand that --index-url is single valued, and --find-links is multi-valued. But what's the semantic difference between them? From my reading, it sounds like they both point to pages that contain links