Changed executable name computation in test_venv to allow for debug executables.
This commit is contained in:
parent
b3b49cd1d2
commit
393da3240a
|
@ -24,13 +24,12 @@ class BaseTest(unittest.TestCase):
|
||||||
self.ps3name = 'pysetup3-script.py'
|
self.ps3name = 'pysetup3-script.py'
|
||||||
self.lib = ('Lib',)
|
self.lib = ('Lib',)
|
||||||
self.include = 'Include'
|
self.include = 'Include'
|
||||||
self.exe = 'python.exe'
|
|
||||||
else:
|
else:
|
||||||
self.bindir = 'bin'
|
self.bindir = 'bin'
|
||||||
self.ps3name = 'pysetup3'
|
self.ps3name = 'pysetup3'
|
||||||
self.lib = ('lib', 'python%s' % sys.version[:3])
|
self.lib = ('lib', 'python%s' % sys.version[:3])
|
||||||
self.include = 'include'
|
self.include = 'include'
|
||||||
self.exe = 'python'
|
self.exe = os.path.split(sys.executable)[-1]
|
||||||
|
|
||||||
def tearDown(self):
|
def tearDown(self):
|
||||||
shutil.rmtree(self.env_dir)
|
shutil.rmtree(self.env_dir)
|
||||||
|
|
Loading…
Reference in New Issue