diff --git a/testing/cx_freeze/install_cx_freeze.py b/testing/cx_freeze/install_cx_freeze.py index cc3e1868c..e04976aa3 100644 --- a/testing/cx_freeze/install_cx_freeze.py +++ b/testing/cx_freeze/install_cx_freeze.py @@ -21,7 +21,7 @@ if __name__ == '__main__': sys.exit(res) sys.exit(0) - rootdir = py.path.make_numbered_dir(prefix='cx_freeze') + rootdir = py.path.local.make_numbered_dir(prefix='cx_freeze') res = os.system('pip install --download %s --no-use-wheel ' 'cx_freeze' % rootdir)