tanminhnu / python-gflags

Automatically exported from code.google.com/p/python-gflags
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

There doesn't seem to be any option in setup.py to install to a directory other than /usr/local #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Issue 'python ./setup.py install as a non-root user
2. It fails and displays a message suggesting the use of --prefix or --
install-dir.
3. However, using --prefix or --install-dir goes unrecognized by setup.py.

What is the expected output? What do you see instead?

I expect an option that permits me to install python gflags at a different 
location than the default.

What version of the product are you using? On what operating system?

1.3. Ubuntu 9.10.

Please provide any additional information below.

Original issue reported on code.google.com by mohit.a...@gmail.com on 11 Jan 2010 at 6:10

GoogleCodeExporter commented 8 years ago
I'm sorry for the very tardy response; it looks like I hadn't set up email 
notification of issue reports, so I didn't see this until now.

I don't know how setup.py works, really, but as far as I know we use a very 
standard setup.  Is there something we should be doing differently, do you know?

Original comment by csilv...@gmail.com on 30 Aug 2010 at 5:41

GoogleCodeExporter commented 8 years ago
Did you see
   http://docs.python.org/install/#inst-alt-install
?

} 3. However, using --prefix or --install-dir goes unrecognized by setup.py.

What is the exact command you're running?

Original comment by csilv...@gmail.com on 30 Aug 2010 at 6:01

GoogleCodeExporter commented 8 years ago

I just retried installing using the --prefix argument. It works now. So seems 
like the issue has been fixed. Earlier, the --prefix argument didn't work 
(possibly an issue with the python version I was using at the time).

You can close the issue.

Original comment by mohit.a...@gmail.com on 30 Aug 2010 at 7:53

GoogleCodeExporter commented 8 years ago
Great, will do.

Original comment by csilv...@gmail.com on 14 Oct 2010 at 1:35