diff --git a/setup.py b/setup.py index 8e738a20..968e42c0 100644 --- a/setup.py +++ b/setup.py @@ -153,8 +153,6 @@ try: ], ) finally: - if os.path.exists('MANIFEST.in'): - os.remove('MANIFEST.in') - - if os.path.exists('MANIFEST'): - os.remove('MANIFEST') + for filename in ['MANIFEST.in', 'MANIFEST']: + if os.path.exists(filename): + os.remove(filename)