Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
setuptools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
setuptools
Commits
ad325698
Commit
ad325698
authored
Apr 09, 2003
by
Andrew M. Kuchling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove the --verify option in favor of the standard -n/--dry-run option
parent
9766b20b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
command/register.py
command/register.py
+1
-4
No files found.
command/register.py
View file @
ad325698
...
@@ -22,8 +22,6 @@ class register(Command):
...
@@ -22,8 +22,6 @@ class register(Command):
user_options
=
[
user_options
=
[
(
'repository='
,
'r'
,
(
'repository='
,
'r'
,
"url of repository [default: %s]"
%
DEFAULT_REPOSITORY
),
"url of repository [default: %s]"
%
DEFAULT_REPOSITORY
),
(
'verify'
,
None
,
'verify the package metadata for correctness'
),
(
'list-classifiers'
,
None
,
(
'list-classifiers'
,
None
,
'list the valid Trove classifiers'
),
'list the valid Trove classifiers'
),
(
'show-response'
,
None
,
(
'show-response'
,
None
,
...
@@ -33,7 +31,6 @@ class register(Command):
...
@@ -33,7 +31,6 @@ class register(Command):
def
initialize_options
(
self
):
def
initialize_options
(
self
):
self
.
repository
=
None
self
.
repository
=
None
self
.
verify
=
0
self
.
show_response
=
0
self
.
show_response
=
0
self
.
list_classifiers
=
0
self
.
list_classifiers
=
0
...
@@ -43,7 +40,7 @@ class register(Command):
...
@@ -43,7 +40,7 @@ class register(Command):
def
run
(
self
):
def
run
(
self
):
self
.
check_metadata
()
self
.
check_metadata
()
if
self
.
verify
:
if
self
.
dry_run
:
self
.
verify_metadata
()
self
.
verify_metadata
()
elif
self
.
list_classifiers
:
elif
self
.
list_classifiers
:
self
.
classifiers
()
self
.
classifiers
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment