[Pythonmac-SIG] Package Manager idea, adding a URL scheme

Bob Ippolito bob at redivi.com
Wed Oct 1 15:23:24 EDT 2003


On Wednesday, Oct 1, 2003, at 15:11 America/New_York, Ronald Oussoren 
wrote:

>
> On 1 okt 2003, at 5:58, Bob Ippolito wrote:
>
>> How about making up a URL scheme for Package Manager.. for example:
>>
>> pypimp://undefined.org/pimp/?Numeric
>
> This might be pretty usefull, and might reduce the load on the central 
> scapegoat.
>
> Another idea: Add a function of comparing versions to pimp. The 
> current plists seem to use a simple string comparison for comparing 
> versions and that doesn't always work. As an example, the entry for 
> PyObjC contains something like:
>
> 	import objc
> 	if objc.__version__ < "1.0b1":
> 		raise "old version installed"
>
> That won't work whenever we get around releasing pyobjc-1.0, as "1.0" 
> < "1.0b1" :-(.

We need to standardize on a way to do this, obviously..  The string 
comparison thing is bad, and the scapegoat has to figure out how to 
find the version for each package (which isn't always possible, because 
not every package includes this metadata).

There should be a standard sys.version_info way of getting package 
versions.

-bob




More information about the Pythonmac-SIG mailing list