def clean(): """TODO: Clean the build stuff etc... """ # removing compiled files [rm(f) for f in find("*.pyc")] [rm(f) for f in find("*.elc")] rm("dist")
def clean(): """TODO: Clean the build stuff etc... """ # removing compiled files rm(find("*.pyc")) rm(find('*.elc')) if os.path.exists("dist"): rm("dist")
def compile(): """byte compile .el files """ compile_el(find('*.el'), 'epy-init.el')
def test_find(self): files = list(find("*.txt", "./testdir")) self.assertEqual(files,['./testdir/stuff.txt', './testdir/testdir2/stuff2.txt'])