From 38744a0e968db07ea484c4f0da0e1e90d16f06ee Mon Sep 17 00:00:00 2001 From: Ross McFarland Date: Wed, 24 Nov 2021 06:37:00 -0800 Subject: [PATCH] Don't write description out to a temporary file --- setup.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/setup.py b/setup.py index 850c110..c256ec5 100644 --- a/setup.py +++ b/setup.py @@ -52,10 +52,7 @@ def long_description(): supported_providers = True continue buf.write(line) - buf = buf.getvalue() - with open('/tmp/mod', 'w') as fh: - fh.write(buf) - return buf + return buf.getvalue() setup(