mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Replace hardcoded python executable with sys.executable
This commit is contained in:
parent
e354080dd7
commit
2ac61215ba
1 changed files with 1 additions and 1 deletions
2
setup.py
2
setup.py
|
@ -80,7 +80,7 @@ class TestCommand(Command):
|
|||
self.run_command('build')
|
||||
build_cmd = self.get_finalized_command('build_ext')
|
||||
runner = os.path.abspath('tests/runtests.py')
|
||||
test_cmd = 'python {0}'.format(runner)
|
||||
test_cmd = sys.executable + ' {0}'.format(runner)
|
||||
if self.runtests_opts:
|
||||
test_cmd += ' {0}'.format(self.runtests_opts)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue