Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > [Q] How to specify options for 'setup.py install' by environmentvariable?

Reply
Thread Tools

[Q] How to specify options for 'setup.py install' by environmentvariable?

 
 
Makoto Kuwata
Guest
Posts: n/a
 
      06-10-2012
Hi,

"setup.py install" command supports options such as --prefix,
--install-scripts, and so on.
For example:

$ python setup.py install --prefix=$PWD/local --install-scripts=$PWD/bin

Question: is it possible to specify these options by environment variable?
I want to specify --prefix or --install-scripts options, but it is
too troublesome for me to specify them in command line every time.

--
regards,
makoto kuwata
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
Re: [Q] How to specify options for 'setup.py install' by environmentvariable? Makoto Kuwata Python 0 06-11-2012 12:30 AM
Re: [Q] How to specify options for 'setup.py install' by environmentvariable? Ned Deily Python 0 06-10-2012 06:51 AM
Re: [Q] How to specify options for 'setup.py install' by environmentvariable? Makoto Kuwata Python 0 06-10-2012 04:24 AM
good compile options for g++ options to enforce good coding Cliff Martin C++ 1 01-31-2007 02:03 AM



Advertisments