moinsetup

Change of moinsetup.py

66:81d7d9842b73
moinsetup.py
     1.1 --- a/moinsetup.py	Tue Jul 17 23:36:13 2012 +0200
     1.2 +++ b/moinsetup.py	Thu Dec 13 01:10:19 2012 +0100
     1.3 @@ -778,7 +778,7 @@
     1.4          install_cmd = "install"
     1.5          options = "--prefix='%s' --record='%s'" % (self.prefix, log_filename)
     1.6  
     1.7 -        os.system("python setup.py --quiet %s %s --force" % (install_cmd, options))
     1.8 +        os.system("%s setup.py --quiet %s %s --force" % (sys.executable, install_cmd, options))
     1.9  
    1.10          chdir(this_dir)
    1.11  
    1.12 @@ -1315,7 +1315,7 @@
    1.13  
    1.14          try:
    1.15              options = "install --install-lib=%s" % self.prefix_site_packages
    1.16 -            os.system("python setup.py %s" % options)
    1.17 +            os.system("%s setup.py %s" % (sys.executable, options))
    1.18          finally:
    1.19              chdir(this_dir)
    1.20  
    1.21 @@ -1549,7 +1549,7 @@
    1.22              os.environ["PYTHONPATH"] = self.prefix_site_packages + ":" + conf_dir
    1.23  
    1.24          installer = join(self.prefix_site_packages, "MoinMoin", "packages.py")
    1.25 -        cmd = "python %s i %s" % (installer, package_filename)
    1.26 +        cmd = "%s %s i %s" % (sys.executable, installer, package_filename)
    1.27          os.system(cmd)
    1.28  
    1.29          if path: