Ejemplo n.º 1
0
 def clean(self, scm, dist):
     term.green("Removing bytecode files...")
     for filename in shell.dirs('.', '__pycache__'):
         shell.rm_rf(filename)
     for filename in shell.files('.', '*.py[co]'):
         shell.rm(filename)
     for filename in shell.files('.', '*$py.class'):
         shell.rm(filename)
Ejemplo n.º 2
0
 def clean(self, scm, dist):
     term.green("Removing bytecode files...")
     for filename in shell.dirs('.', '__pycache__'):
         shell.rm_rf(filename)
     for filename in shell.files('.', '*.py[co]'):
         shell.rm(filename)
     for filename in shell.files('.', '*$py.class'):
         shell.rm(filename)
Ejemplo n.º 3
0
    def clean(self, scm, dist):
        term.green("Removing python byte code...")
        for name in shell.dirs('.', '__pycache__'):
            shell.rm_rf(name)
        for name in shell.files('.', '*.py[co]'):
            shell.rm(name)

        term.green("Removing c extensions...")
        for name in shell.files('.', '*.so'):
            shell.rm(name)
        for name in shell.files('.', '*.pyd'):
            shell.rm(name)

        shell.rm_rf(self.dirs['build'])
Ejemplo n.º 4
0
    def clean(self, scm, dist):
        term.green("Removing python byte code...")
        for name in shell.dirs('.', '__pycache__'):
            shell.rm_rf(name)
        for name in shell.files('.', '*.py[co]'):
            shell.rm(name)
        for name in shell.files('.', '*$py.class'):
            shell.rm(name)

        term.green("Removing c extensions...")
        for name in shell.files('.', '*.so'):
            shell.rm(name)
        for name in shell.files('.', '*.pyd'):
            shell.rm(name)

        shell.rm_rf(self.dirs['build'])
Ejemplo n.º 5
0
Archivo: make.py Proyecto: ndparker/tdi
    def clean(self, scm, dist):
        term.green("Removing python byte code...")
        for name in shell.dirs(".", "__pycache__"):
            shell.rm_rf(name)
        for name in shell.files(".", "*.py[co]"):
            shell.rm(name)
        for name in shell.files(".", "*$py.class"):
            shell.rm(name)

        term.green("Removing c extensions...")
        for name in shell.files(".", "*.so"):
            shell.rm(name)
        for name in shell.files(".", "*.pyd"):
            shell.rm(name)

        shell.rm_rf(self.dirs["build"])