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

Discussion in 'Python' started by Makoto Kuwata, Jun 10, 2012.

  1. 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
     
    Makoto Kuwata, Jun 10, 2012
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Cliff  Martin
    Replies:
    1
    Views:
    3,046
    Larry Smith
    Jan 31, 2007
  2. Larry Woods
    Replies:
    16
    Views:
    360
    Aaron [SQL Server MVP]
    Jul 11, 2004
  3. Makoto Kuwata
    Replies:
    0
    Views:
    149
    Makoto Kuwata
    Jun 11, 2012
  4. Makoto Kuwata
    Replies:
    0
    Views:
    140
    Makoto Kuwata
    Jun 10, 2012
  5. Ned Deily
    Replies:
    0
    Views:
    138
    Ned Deily
    Jun 10, 2012
Loading...

Share This Page