LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File gmixer-1.3-setup-py.patch of Package gmixer (Project openSUSE:Factory)

diff -uNr gmixer-1.3-orig/setup.py gmixer-1.3/setup.py
--- gmixer-1.3-orig/setup.py	2009-01-11 10:03:01.000000000 -0500
+++ gmixer-1.3/setup.py	2009-05-28 16:45:09.000000000 -0400
@@ -81,28 +81,5 @@
                    ),
                 ],
       )
-# Cleanup (remove /build, /mo, and *.pyc files:
-print "Cleaning up..."
-try:
-    removeall("build/")
-    os.rmdir("build/")
-except:
-    pass
-try:
-    removeall("dist/")
-    os.rmdir("dist/")
-except:
-    pass
-try:
-    os.system('make -C volkeys clean')
-except: 
-    pass
-try:
-    for f in os.listdir("src/"):
-        f = os.path.join("src",f)
-        if os.path.isfile(f):
-            if os.path.splitext(os.path.basename(f))[1] in [".pyc", ".pyo"]:
-                os.remove(f)
-except:
-    pass
+