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
0ec8ef16
Kaydet (Commit)
0ec8ef16
authored
May 13, 2000
tarafından
Gregory P. Smith
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Made the '--record' option take an argument, which is the name of the
file to write the list of installed files to.
üst
7e855ef6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
install.py
Lib/distutils/command/install.py
+5
-4
No files found.
Lib/distutils/command/install.py
Dosyayı görüntüle @
0ec8ef16
...
@@ -89,8 +89,8 @@ class install (Command):
...
@@ -89,8 +89,8 @@ class install (Command):
#('install-html=', None, "directory for HTML documentation"),
#('install-html=', None, "directory for HTML documentation"),
#('install-info=', None, "directory for GNU info files"),
#('install-info=', None, "directory for GNU info files"),
(
'record'
,
None
,
(
'record
=
'
,
None
,
"
make a record of installation
"
),
"
filename in which to record list of installed files
"
),
]
]
# 'sub_commands': a list of commands this command might have to run
# 'sub_commands': a list of commands this command might have to run
...
@@ -445,8 +445,9 @@ class install (Command):
...
@@ -445,8 +445,9 @@ class install (Command):
for
counter
in
xrange
(
len
(
outputs
)):
for
counter
in
xrange
(
len
(
outputs
)):
outputs
[
counter
]
=
outputs
[
counter
][
root_len
:]
outputs
[
counter
]
=
outputs
[
counter
][
root_len
:]
self
.
execute
(
write_file
,
self
.
execute
(
write_file
,
(
"INSTALLED_FILES"
,
outputs
),
(
self
.
record
,
outputs
),
"writing list of installed files"
)
"writing list of installed files to '
%
s'"
%
self
.
record
)
normalized_path
=
map
(
os
.
path
.
normpath
,
sys
.
path
)
normalized_path
=
map
(
os
.
path
.
normpath
,
sys
.
path
)
if
(
not
(
self
.
path_file
and
self
.
install_path_file
)
and
if
(
not
(
self
.
path_file
and
self
.
install_path_file
)
and
...
...
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