Commit 9994ef4e by Ross Weir Committed by Steph Samson

Clarify search for package command usage (#1291)

parent 64d7eb32
...@@ -209,7 +209,9 @@ The <info>init</info> command creates a basic <comment>pyproject.toml</> file in ...@@ -209,7 +209,9 @@ The <info>init</info> command creates a basic <comment>pyproject.toml</> file in
if not requires: if not requires:
requires = [] requires = []
package = self.ask("Add a package:") package = self.ask(
"Search for package to add (or leave blank to continue):"
)
while package is not None: while package is not None:
constraint = self._parse_requirements([package])[0] constraint = self._parse_requirements([package])[0]
if ( if (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment