Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
8ed338ab
Kaydet (Commit)
8ed338ab
authored
Mar 03, 2005
tarafından
Martin v. Löwis
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Patch #1104111: Alter setup.py --help and --help-commands.
üst
5dc8ced4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
2 deletions
+13
-2
clean.py
Lib/distutils/command/clean.py
+1
-1
dist.py
Lib/distutils/dist.py
+10
-1
NEWS
Misc/NEWS
+2
-0
No files found.
Lib/distutils/command/clean.py
Dosyayı görüntüle @
8ed338ab
...
...
@@ -15,7 +15,7 @@ from distutils import log
class
clean
(
Command
):
description
=
"clean up
output of
'build' command"
description
=
"clean up
temporary files from
'build' command"
user_options
=
[
(
'build-base='
,
'b'
,
"base build directory (default: 'build.build-base')"
),
...
...
Lib/distutils/dist.py
Dosyayı görüntüle @
8ed338ab
...
...
@@ -59,6 +59,15 @@ class Distribution:
(
'help'
,
'h'
,
"show detailed help message"
),
]
# 'common_usage' is a short (2-3 line) string describing the common
# usage of the setup script.
common_usage
=
"""
\
Common commands: (see '--help-commands' for more)
setup.py build will build the package underneath 'build/'
setup.py install will install the package
"""
# options that are not propagated to the commands
display_options
=
[
(
'help-commands'
,
None
,
...
...
@@ -608,7 +617,7 @@ class Distribution:
else
:
options
=
self
.
global_options
parser
.
set_option_table
(
options
)
parser
.
print_help
(
"
Global options:"
)
parser
.
print_help
(
self
.
common_usage
+
"
\n
Global options:"
)
print
if
display_options
:
...
...
Misc/NEWS
Dosyayı görüntüle @
8ed338ab
...
...
@@ -59,6 +59,8 @@ Extension Modules
Library
-------
- Patch #1104111: Alter setup.py --help and --help-commands.
- Patch #1121234: Properly cleanup _exit and tkerror commands.
- Patch #1049151: xdrlib now unpacks booleans as True or False.
...
...
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