yourcelf / django-registration-defaults

Default implementations of the 15 templates required to do full login, logout, registration and password retrieval when using django-registration.
277 stars 77 forks source link

setup.py behavior is inconsistent. #2

Closed usernamenumber closed 13 years ago

usernamenumber commented 13 years ago

As written, the "root" variable is set to an empty string when file returns just the filename (no directory component), which is at least the behavior I see running "sudo python setup.py install" on Fedora 14 using python-2.7-8.

Replacing file with os.path.abspath(file) addresses this problem. I will fork and issue a pull request.

yourcelf commented 13 years ago

I believe this is fixed, thanks! Closing.