Roundup Tracker - Issues

Issue 2550842

classification
setup.py only works if run from top-level project directory
Type: Severity: normal
Components: Installation Versions: 1.5
process
Status: closed fixed
:
: jerrykan : ber, jerrykan
Priority: normal : patch, patch

Created on 2014-05-05 07:25 by jerrykan, last changed 2014-05-08 13:11 by jerrykan.

Files
File name Uploaded Description Edit Remove
setup.py.patch jerrykan, 2014-05-05 07:25
Messages
msg5097 Author: [hidden] (jerrykan) Date: 2014-05-05 07:25
The setup.py script assumes it is being run from the top-level project
directory with all filenames relative to that location. This may not
always be the case.

Attached is a patch that ensure the working directory is changed so that
the relative filename locations will work no mater where the setup.py
script is invoked from.

I have avoid commit this patch directly in case others believe it is too
hackish and the relative filenames should actually be fixed.
msg5098 Author: [hidden] (ber) Date: 2014-05-06 10:34
John, 
if you believe it is an improvement, feel free to commit. :)
msg5099 Author: [hidden] (jerrykan) Date: 2014-05-08 09:49
I just wanted to give it a few days in-case there were any objections
based on it being to much of a hack. I'll push the change in the next
day or so.
msg5100 Author: [hidden] (jerrykan) Date: 2014-05-08 13:11
Fixed in commit 4894:1484893daeff
History
Date User Action Args
2014-05-08 13:11:20jerrykansetkeywords: patch, patch
assignee: jerrykan
status: new -> closed
messages: + msg5100
resolution: fixed
2014-05-08 09:49:17jerrykansetkeywords: patch, patch
messages: + msg5099
2014-05-06 10:34:47bersetkeywords: patch, patch
nosy: + ber
messages: + msg5098
2014-05-05 07:25:36jerrykancreate