def handle(self): fmt = 'all' if self.option('format'): fmt = self.option('format') builder = Builder(self.poetry) builder.build(fmt)
def handle(self): fmt = 'all' if self.option('format'): fmt = self.option('format') package = self.poetry.package self.line(f'Building <info>{package.pretty_name}</> ' f'(<comment>{package.version}</>)') builder = Builder(self.poetry, self.venv, self.output) builder.build(fmt)
def handle(self): from poetry.masonry import Builder fmt = "all" if self.option("format"): fmt = self.option("format") package = self.poetry.package self.line("Building <info>{}</> (<comment>{}</>)".format( package.pretty_name, package.version)) builder = Builder(self.poetry, self.env, self.io) builder.build(fmt)
def handle(self): from poetry.masonry import Builder fmt = 'all' if self.option('format'): fmt = self.option('format') package = self.poetry.package self.line('Building <info>{}</> (<comment>{}</>)'.format( package.pretty_name, package.version)) builder = Builder(self.poetry, self.venv, self.output) builder.build(fmt)