From 25a1b880ad2a37c1468583fc601ce36c2f7c1865 Mon Sep 17 00:00:00 2001 From: razerraz Date: Sat, 9 Feb 2019 09:32:06 +0100 Subject: [PATCH] Update setup.py --- setup.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/setup.py b/setup.py index af3fa55..5f1173c 100644 --- a/setup.py +++ b/setup.py @@ -120,13 +120,13 @@ class CleanCommand(Command): # build folder if os.path.exists('build'): - print "Deleting build directory" + print("Deleting build directory") shutil.rmtree('build') # eggs eggs = glob.glob("*.egg-info") for egg in eggs: - print "Deleting %s directory" % egg + print("Deleting %s directory" % egg) shutil.rmtree(egg) # pyc files @@ -135,11 +135,11 @@ class CleanCommand(Command): return if len(os.listdir(path)) == 0: shutil.rmtree(path) - print "Deleted %s since it was empty" % path + print("Deleted %s since it was empty" % path) def delete_file(path): os.remove(path) - print "Deleted %s" % path + print("Deleted %s" % path) import fnmatch _recursively_handle_files( @@ -155,11 +155,11 @@ class CleanCommand(Command): return if len(os.listdir(path)) == 0: shutil.rmtree(path) - print "Deleted %s since it was empty" % path + print("Deleted %s since it was empty" % path) def delete_file(path): os.remove(path) - print "Deleted %s" % path + print("Deleted %s" % path) import fnmatch _recursively_handle_files(