Remove .pyc files from tarball when running maketarball.sh
authorChristopher Allan Webber <cwebber@dustycloud.org>
Wed, 13 Mar 2013 02:36:05 +0000 (21:36 -0500)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Wed, 13 Mar 2013 02:36:12 +0000 (21:36 -0500)
devtools/maketarball.sh

index 7d88c6fd09a6406b209b5cd336fc7e7389905bcd..c6c2bc2beff75c369678748528affd995b18b1c2 100755 (executable)
@@ -161,6 +161,9 @@ then
         rm -rf docs/_build/
     fi
 
+    # Remove .pyc files that may have been generated by sphinx
+    find mediagoblin -name '*.pyc' -exec rm {} \;
+
     popd
 
     tar -cvf $FNBASE.tar $FNBASE