towhee.command.develop.SetupCommand

class towhee.command.develop.SetupCommand(args)[source]

Bases: object

Implementation for subcmd towhee develop and towhee install. Setup repo to `towheeoperator.{self._args.namespace}_{self._args.repo_name}’ package with pypi methods.

Methods

install

read_requirements

Get a list in requirements.txt.

__call__() None[source]

Call self as a function.

__init__(args) None[source]
static read_requirements() List[str][source]

Get a list in requirements.txt.

Returns:

List in ./requirements.txt.

Return type:

(List)