Skip to content

Commit 58e4198

Browse files
jayvdbmyint
authored andcommitted
setup.py: Run 3to2 before tests (jxmorris12#64)
Closes myint/language-check#63
1 parent afcd650 commit 58e4198

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎setup.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ def default_hook(config):
568568
os.path.isdir(PY2K_DIR) != IS_PY2K and os.path.isdir(LIB_DIR)):
569569
shutil.rmtree(LIB_DIR)
570570

571-
if IS_PY2K and any(arg.startswith(('install', 'build', 'bdist'))
571+
if IS_PY2K and any(arg.startswith(('install', 'build', 'bdist', 'test'))
572572
for arg in sys.argv):
573573
generate_py2k(config)
574574
packages_root = get_cfg_value(config, 'files', 'packages_root')

0 commit comments

Comments
 (0)