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
94ce0d19
Kaydet (Commit)
94ce0d19
authored
Ara 08, 1997
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Add special handling for Python modules that are imported implicitly
by the Python runtime: 'site' and 'exceptions'.
üst
c5d2d517
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
freeze.py
Tools/freeze/freeze.py
+6
-0
No files found.
Tools/freeze/freeze.py
Dosyayı görüntüle @
94ce0d19
...
@@ -85,6 +85,9 @@ def main():
...
@@ -85,6 +85,9 @@ def main():
odir
=
''
odir
=
''
win
=
sys
.
platform
[:
3
]
==
'win'
win
=
sys
.
platform
[:
3
]
==
'win'
# modules that are imported by the Python runtime
implicits
=
[
"site"
,
"exceptions"
]
# output files
# output files
frozen_c
=
'frozen.c'
frozen_c
=
'frozen.c'
config_c
=
'config.c'
config_c
=
'config.c'
...
@@ -217,6 +220,9 @@ def main():
...
@@ -217,6 +220,9 @@ def main():
target
=
os
.
path
.
join
(
odir
,
target
)
target
=
os
.
path
.
join
(
odir
,
target
)
makefile
=
os
.
path
.
join
(
odir
,
makefile
)
makefile
=
os
.
path
.
join
(
odir
,
makefile
)
for
mod
in
implicits
:
modules
.
append
(
findmodules
.
findmodule
(
mod
))
# Actual work starts here...
# Actual work starts here...
dict
=
findmodules
.
findmodules
(
scriptfile
,
modules
,
path
)
dict
=
findmodules
.
findmodules
(
scriptfile
,
modules
,
path
)
...
...
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