• Reinout van Rees's avatar
    Using distribute's way of chmod +x. · 3f2a4d40
    Reinout van Rees authored
    os.umask is a bit weird in that it *does* return the current umask,
    but it has a required argument that it immediately sets as the new umask...
    Weird. Distribute solves that by assigning a dummy value and re-setting
    the umask to the original value.
    
    The matching test verifies that it actually works.
    
    Note that I use python 2.6+'s octal notation: 0o755.
    Buildout 2 doesn't support python 2.5 anymore, iirc, so that's fine.
    3f2a4d40
easy_install.py 46.4 KB