Skip to content

Commit

Permalink
Remove pypi.org default for register command
Browse files Browse the repository at this point in the history
  • Loading branch information
brainwane committed Mar 15, 2018
1 parent 7f86514 commit 0cf4630
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions twine/commands/register.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,12 @@ def main(args):
"-r", "--repository",
action=utils.EnvironmentDefault,
env="TWINE_REPOSITORY",
default="pypi",
help="The repository to register the package to. "
"Should be a section in the config file (default: "
"%(default)s). (Can also be set via %(env)s environment "
"variable)",
default=None,
help="The repository (package index) to register the package to. "
"Should be a section in the config file. (Can also be set "
"via %(env)s environment variable.) "
"Initial package registration no longer necessary on pypi.org: "
"https://packaging.python.org/guides/migrating-to-pypi-org/#registering-package-names-metadata",
)
parser.add_argument(
"--repository-url",
Expand Down

0 comments on commit 0cf4630

Please sign in to comment.