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
4d74d73b
Kaydet (Commit)
4d74d73b
authored
Haz 08, 1999
tarafından
Greg Ward
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Now handles NT, through '_init_nt()' function (courtesy of
Amos Latteier <amos@aracnet.com>).
üst
3f757418
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
sysconfig.py
Lib/distutils/sysconfig.py
+11
-0
No files found.
Lib/distutils/sysconfig.py
Dosyayı görüntüle @
4d74d73b
...
@@ -129,6 +129,16 @@ def _init_posix():
...
@@ -129,6 +129,16 @@ def _init_posix():
parse_makefile
(
open
(
get_makefile_filename
()),
g
)
parse_makefile
(
open
(
get_makefile_filename
()),
g
)
def
_init_nt
():
"""Initialize the module as appropriate for NT"""
g
=
globals
()
# load config.h, though I don't know how useful this is
parse_config_h
(
open
(
os
.
path
.
join
(
sys
.
exec_prefix
,
"include"
,
"config.h"
)),
g
)
# set basic install directories
g
[
'LIBDEST'
]
=
os
.
path
.
join
(
sys
.
exec_prefix
,
"Lib"
)
g
[
'BINLIBDEST'
]
=
os
.
path
.
join
(
sys
.
exec_prefix
,
"Lib"
)
try
:
try
:
exec
"_init_"
+
os
.
name
exec
"_init_"
+
os
.
name
...
@@ -139,3 +149,4 @@ else:
...
@@ -139,3 +149,4 @@ else:
exec
"_init_
%
s()"
%
os
.
name
exec
"_init_
%
s()"
%
os
.
name
del
_init_posix
del
_init_posix
del
_init_nt
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