mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
[V3] Stop tmp dir showing up (#1895)
This commit is contained in:
parent
5c514fd663
commit
50f6dcef2f
2
setup.py
2
setup.py
@ -34,7 +34,7 @@ def check_compiler_available():
|
|||||||
tfile.write(b"int main(int argc, char** argv) {return 0;}")
|
tfile.write(b"int main(int argc, char** argv) {return 0;}")
|
||||||
tfile.seek(0)
|
tfile.seek(0)
|
||||||
try:
|
try:
|
||||||
m.compile([tfile.name])
|
m.compile([tfile.name], output_dir=tdir)
|
||||||
except (CCompilerError, DistutilsPlatformError):
|
except (CCompilerError, DistutilsPlatformError):
|
||||||
return False
|
return False
|
||||||
return True
|
return True
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user