Beispiel #1
0
    def handle(self):
        fmt = 'all'
        if self.option('format'):
            fmt = self.option('format')

        builder = Builder(self.poetry)
        builder.build(fmt)
Beispiel #2
0
    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)
Beispiel #3
0
    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)
Beispiel #4
0
    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)