Commits

Jason R. Coombs committed 5b6c492

Removed erroneous setup.py option
Removed -Wd except for Python 2.x

Comments (0)

Files changed (1)

 	
 	cmd = [
 		'python'+python_ver,
-		'setup.py',
-		'-Wd',
 		'runtests.py',
 		'-q',
 	]
+	if python_ver.startswith('2'):
+		cmd[1:1]  = ['-Wd']
 	if python_ver == '2.7':
-		cmd[3:3] = ['-bb', '-3']
+		cmd[1:1] = ['-bb', '-3']
 	try:
 		subprocess.check_call(cmd, env=env, cwd=wd)
 	except: