mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Improve consistency in questions asked by packaging.create.
I reworded “wizard” because it is a Windows-specific term.
This commit is contained in:
parent
8f66f61e55
commit
4559383664
1 changed files with 10 additions and 10 deletions
|
@ -61,7 +61,7 @@ E-mail address of the project author (typically you).
|
||||||
'do_classifier': '''
|
'do_classifier': '''
|
||||||
Trove classifiers are optional identifiers that allow you to specify the
|
Trove classifiers are optional identifiers that allow you to specify the
|
||||||
intended audience by saying things like "Beta software with a text UI
|
intended audience by saying things like "Beta software with a text UI
|
||||||
for Linux under the PSF license. However, this can be a somewhat involved
|
for Linux under the PSF license". However, this can be a somewhat involved
|
||||||
process.
|
process.
|
||||||
''',
|
''',
|
||||||
'packages': '''
|
'packages': '''
|
||||||
|
@ -88,7 +88,7 @@ human language, programming language, user interface, etc...
|
||||||
''',
|
''',
|
||||||
'setup.py found': '''
|
'setup.py found': '''
|
||||||
The setup.py script will be executed to retrieve the metadata.
|
The setup.py script will be executed to retrieve the metadata.
|
||||||
A wizard will be run if you answer "n",
|
An interactive helper will be run if you answer "n",
|
||||||
''',
|
''',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -475,7 +475,7 @@ class MainProgram:
|
||||||
self.data.get('author'), _helptext['author'])
|
self.data.get('author'), _helptext['author'])
|
||||||
self.data['author_email'] = ask('Author e-mail address',
|
self.data['author_email'] = ask('Author e-mail address',
|
||||||
self.data.get('author_email'), _helptext['author_email'])
|
self.data.get('author_email'), _helptext['author_email'])
|
||||||
self.data['home_page'] = ask('Project Home Page',
|
self.data['home_page'] = ask('Project home page',
|
||||||
self.data.get('home_page'), _helptext['home_page'],
|
self.data.get('home_page'), _helptext['home_page'],
|
||||||
required=False)
|
required=False)
|
||||||
|
|
||||||
|
@ -581,7 +581,7 @@ class MainProgram:
|
||||||
self.set_other_classifier(self.classifiers)
|
self.set_other_classifier(self.classifiers)
|
||||||
|
|
||||||
def set_other_classifier(self, classifiers):
|
def set_other_classifier(self, classifiers):
|
||||||
if ask_yn('Do you want to set other trove identifiers', 'n',
|
if ask_yn('Do you want to set other trove identifiers?', 'n',
|
||||||
_helptext['trove_generic']) != 'y':
|
_helptext['trove_generic']) != 'y':
|
||||||
return
|
return
|
||||||
self.walk_classifiers(classifiers, [CLASSIFIERS], '')
|
self.walk_classifiers(classifiers, [CLASSIFIERS], '')
|
||||||
|
@ -598,7 +598,7 @@ class MainProgram:
|
||||||
classifiers.add(desc[4:] + ' :: ' + key)
|
classifiers.add(desc[4:] + ' :: ' + key)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if ask_yn('Do you want to set items under\n "%s" (%d sub-items)'
|
if ask_yn('Do you want to set items under\n "%s" (%d sub-items)?'
|
||||||
% (key, len(trove[key])), 'n',
|
% (key, len(trove[key])), 'n',
|
||||||
_helptext['trove_generic']) == 'y':
|
_helptext['trove_generic']) == 'y':
|
||||||
self.walk_classifiers(classifiers, trovepath + [trove[key]],
|
self.walk_classifiers(classifiers, trovepath + [trove[key]],
|
||||||
|
@ -606,7 +606,7 @@ class MainProgram:
|
||||||
|
|
||||||
def set_license(self, classifiers):
|
def set_license(self, classifiers):
|
||||||
while True:
|
while True:
|
||||||
license = ask('What license do you use',
|
license = ask('What license do you use?',
|
||||||
helptext=_helptext['trove_license'], required=False)
|
helptext=_helptext['trove_license'], required=False)
|
||||||
if not license:
|
if not license:
|
||||||
return
|
return
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue