Changeset 397:ff31826a3dee in livinglogic.python.www

Show
Ignore:
Timestamp:
06/27/06 18:19:57 (13 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Add handling of egg downloads.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • site/Python_xmlns.py

    r395 r397  
    937937        elif name.endswith(".tar.gz") or name.endswith(".tar.bz2") or name.endswith(".zip"): 
    938938            type = "Source" 
     939        elif name.endswith(".egg"): 
     940            if "win32" in name: 
     941                type = "Windows egg" 
     942            elif "linux" in name: 
     943                type = "Linux egg" 
     944            else: 
     945                type = "Egg" 
    939946        elif name.endswith(".exe"): 
    940947            type = "Windows installer"