[Elisa-commits] Changeset 4708 by guidonte

Linda linda at fluendo.com
Fri Jan 18 13:41:52 CET 2008


Hola,

I'm Linda, the friendly SVN commit spy.

On Fri, 18 Jan 2008 12:41:50 -0000, guidonte has committed some new stuff. The
log message was:

"""
	reviewed by: <philippe at fluendo.com>
	* setup.py:
	'clean' command removes .pyc, .pyo and .cover files


"""

Maintainers of changed files are:



Please see https://code.fluendo.com/elisa/trac/changeset/4708 for details about this commit!
Diff of the changeset appears below:

--- trunk/ChangeLog 
+++ trunk/ChangeLog 
@@ -1,3 +1,10 @@
+2008-01-18  Guido Amoruso  <guidonte at fluendo.com>
+
+	reviewed by: <philippe at fluendo.com>
+
+	* setup.py:
+	'clean' command removes .pyc, .pyo and .cover files
+
 2008-01-17  Alessandro Decina <alessandro at fluendo.com>
 
 	* elisa/plugins/good/gstreamer_plugin/tests/test_gst_metadata.py:
--- trunk/setup.py 
+++ trunk/setup.py 
@@ -175,6 +175,12 @@
                 os.unlink(os.path.join(dirname, '_' + basename + '.so'))
             except OSError:
                 pass
+
+        # Removing .pyc, .pyo and .cover files
+        for root, dirs, files in os.walk('.', topdown=False):
+            for name in files:
+                if name.endswith('.pyc') or name.endswith('.pyo') or name.endswith('.cover'):
+                    os.remove(os.path.join(root, name))
 
 data_files = []
 c_extensions = []


Feel free to slap guidonte if he did something wrong. I'm not
able to determine that.

Cheers,
Linda


More information about the Elisa-commits mailing list