Issue #320 resolved

os.access cannot test for "is createable"

Stefan H. Holek
created an issue

You cannot test for "writability" of non-existant files:

{{

os.access('doesnotexist', os.W_OK) False }}

This is however exactly what "After install bootstrap" appears to be doing. I get this warning a lot when installing distribute from source dir:

{{ ./bin/easy_install -U ../distribute-trunk }}

To add insult to injury on trunk (well, "default") there now is a return statement right after the warning. I don't think this code achieves what it is supposed to. ;-)

[[https://bitbucket.org/tarek/distribute/src/bbe48d4bfce6/distribute_setup.py#cl-315]]

Comments (2)

  1. Log in to comment