Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
45593836
Commit
45593836
authored
Jun 04, 2011
by
Éric Araujo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve consistency in questions asked by packaging.create.
I reworded “wizard” because it is a Windows-specific term.
parent
8f66f61e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
Lib/packaging/create.py
Lib/packaging/create.py
+10
-10
No files found.
Lib/packaging/create.py
View file @
45593836
...
...
@@ -61,7 +61,7 @@ E-mail address of the project author (typically you).
'do_classifier'
:
'''
Trove classifiers are optional identifiers that allow you to specify the
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.
'''
,
'packages'
:
'''
...
...
@@ -88,7 +88,7 @@ human language, programming language, user interface, etc...
'''
,
'setup.py found'
:
'''
The setup.py script will be executed to retrieve the metadata.
A
wizard
will be run if you answer "n",
A
n interactive helper
will be run if you answer "n",
'''
,
}
...
...
@@ -475,25 +475,25 @@ class MainProgram:
self.data.get('
author
'), _helptext['
author
'])
self.data['
author_email
'] = ask('
Author
e
-
mail
address
',
self.data.get('
author_email
'), _helptext['
author_email
'])
self.data['
home_page
'] = ask('
Project
Home
P
age
',
self.data['
home_page
'] = ask('
Project
home
p
age
',
self.data.get('
home_page
'), _helptext['
home_page
'],
required=False)
if ask_yn('
Do
you
want
me
to
automatically
build
the
file
list
'
'
with
everything
I
can
find
in
the
current
directory
?
'
'
with
everything
I
can
find
in
the
current
directory
?
'
'
If
you
say
no
,
you
will
have
to
define
them
manually
.
') == '
y
':
self._find_files()
else:
while ask_yn('
Do
you
want
to
add
a
single
module
?
'
while ask_yn('
Do
you
want
to
add
a
single
module
?
'
'
(
you
will
be
able
to
add
full
packages
next
)
',
helptext=_helptext['
modules
']) == '
y
':
self._set_multi('
Module
name
', '
modules
')
while ask_yn('
Do
you
want
to
add
a
package
?
',
while ask_yn('
Do
you
want
to
add
a
package
?
',
helptext=_helptext['
packages
']) == '
y
':
self._set_multi('
Package
name
', '
packages
')
while ask_yn('
Do
you
want
to
add
an
extra
file
?
',
while ask_yn('
Do
you
want
to
add
an
extra
file
?
',
helptext=_helptext['
extra_files
']) == '
y
':
self._set_multi('
Extra
file
/
dir
name
', '
extra_files
')
...
...
@@ -581,7 +581,7 @@ class MainProgram:
self.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
':
return
self.walk_classifiers(classifiers, [CLASSIFIERS], '')
...
...
@@ -598,7 +598,7 @@ class MainProgram:
classifiers.add(desc[4:] + '
::
' + key)
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
',
_helptext['
trove_generic
']) == '
y
':
self.walk_classifiers(classifiers, trovepath + [trove[key]],
...
...
@@ -606,7 +606,7 @@ class MainProgram:
def set_license(self, classifiers):
while True:
license = ask('
What
license
do
you
use
',
license = ask('
What
license
do
you
use
?
',
helptext=_helptext['
trove_license
'], required=False)
if not license:
return
...
...
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