From 50f6dcef2faac163b87e591d20d193cbafa8d7dc Mon Sep 17 00:00:00 2001 From: Toby Harradine Date: Thu, 12 Jul 2018 02:17:54 +0200 Subject: [PATCH] [V3] Stop `tmp` dir showing up (#1895) --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index b19c1716d..d74360baf 100644 --- a/setup.py +++ b/setup.py @@ -34,7 +34,7 @@ def check_compiler_available(): tfile.write(b"int main(int argc, char** argv) {return 0;}") tfile.seek(0) try: - m.compile([tfile.name]) + m.compile([tfile.name], output_dir=tdir) except (CCompilerError, DistutilsPlatformError): return False return True