Use the correct executable when calling build-media.py

Review Request #4632 — Created Sept. 22, 2013 and submitted

Information

Djblets
master

Reviewers

In setup.py, sys.executable contains the path of the current python interpreter and one should use it when running a different script.

On a system where the executable is /usr/bin/python2.

reviewbot
  1. This is a review from Review Bot.
    Tool: PEP8 Style Checker
    Processed Files:
    setup.py
    Ignored Files:

  2. 
      
reviewbot
  1. This is a review from Review Bot.
    Tool: Pyflakes
    Processed Files:
    setup.py
    Ignored Files:

  2. 
      
david
  1. Ship It!

  2. 
      
LI
Review request changed
Status:
Completed
Change Summary:

Pushed to release-0.7.x (7706946). Thanks!