wting / python-graph

Automatically exported from code.google.com/p/python-graph
Other
5 stars 3 forks source link

setup --prefix=$PREFIX tries to copy doc/ to /usr/share instead of $PREFIX/share #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. python setup.py install --prefix=$HOME

What is the expected output? What do you see instead?
Expecting install to happen with no failures.  Instead, I get this failure:
error: could not create '/usr/share/doc/python-graph-1.1.1': Permission denied

What version of the product are you using? On what operating system?
python-graph-1.1.1
sysname = x86-64_linux_2.6.5_ImageSLES9SP3-3

Please provide any additional information below.
This is fantastic software, btw.  I work for Intel, and I am using it to
profile and document state machines in SystemVerilog.

I have never dealt with dist-tools before, but I suspect that when you
specify --prefix, the script should copy the documents to the $PREFIX/share
area.  Otherwise you will get this kind of problem with users who don't
have root privilege.

Original issue reported on code.google.com by cjdr...@gmail.com on 4 Sep 2008 at 4:16

GoogleCodeExporter commented 9 years ago
Thank you for your comments. I'll try to fix it. I'm still fighting distutils 
to make
it do what I want. :)

Original comment by pmatiello on 5 Sep 2008 at 2:50

GoogleCodeExporter commented 9 years ago
I believe it's fixed in the svn repository. Could you checkout the code and 
test it
for me on your system?

Original comment by pmatiello on 5 Sep 2008 at 3:04

GoogleCodeExporter commented 9 years ago
subversion seems to be having a problem with my network proxy.  I will wait for 
the 
next release :).

Original comment by cjdr...@gmail.com on 5 Sep 2008 at 7:12