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
9668b78b
Kaydet (Commit)
9668b78b
authored
May 12, 2000
tarafından
Gregory P. Smith
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix from Lyle Johnson: add the '--compiler' option.
üst
c9a5f343
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
3 deletions
+12
-3
build.py
Lib/distutils/command/build.py
+4
-1
build_clib.py
Lib/distutils/command/build_clib.py
+8
-2
No files found.
Lib/distutils/command/build.py
Dosyayı görüntüle @
9668b78b
...
@@ -26,10 +26,12 @@ class build (Command):
...
@@ -26,10 +26,12 @@ class build (Command):
"build-purelib or build-platlib"
),
"build-purelib or build-platlib"
),
(
'build-temp='
,
't'
,
(
'build-temp='
,
't'
,
"temporary build directory"
),
"temporary build directory"
),
(
'compiler='
,
'c'
,
"specify the compiler type"
),
(
'debug'
,
'g'
,
(
'debug'
,
'g'
,
"compile extensions and libraries with debugging information"
),
"compile extensions and libraries with debugging information"
),
(
'force'
,
'f'
,
(
'force'
,
'f'
,
"forcibly build everything (ignore file timestamps"
),
"forcibly build everything (ignore file timestamps
)
"
),
]
]
def
initialize_options
(
self
):
def
initialize_options
(
self
):
...
@@ -40,6 +42,7 @@ class build (Command):
...
@@ -40,6 +42,7 @@ class build (Command):
self
.
build_platlib
=
None
self
.
build_platlib
=
None
self
.
build_lib
=
None
self
.
build_lib
=
None
self
.
build_temp
=
None
self
.
build_temp
=
None
self
.
compiler
=
None
self
.
debug
=
None
self
.
debug
=
None
self
.
force
=
0
self
.
force
=
0
...
...
Lib/distutils/command/build_clib.py
Dosyayı görüntüle @
9668b78b
...
@@ -38,7 +38,9 @@ class build_clib (Command):
...
@@ -38,7 +38,9 @@ class build_clib (Command):
(
'debug'
,
'g'
,
(
'debug'
,
'g'
,
"compile with debugging information"
),
"compile with debugging information"
),
(
'force'
,
'f'
,
(
'force'
,
'f'
,
"forcibly build everything (ignore file timestamps"
),
"forcibly build everything (ignore file timestamps)"
),
(
'compiler='
,
'c'
,
"specify the compiler type"
),
]
]
def
initialize_options
(
self
):
def
initialize_options
(
self
):
...
@@ -54,6 +56,7 @@ class build_clib (Command):
...
@@ -54,6 +56,7 @@ class build_clib (Command):
self
.
undef
=
None
self
.
undef
=
None
self
.
debug
=
None
self
.
debug
=
None
self
.
force
=
0
self
.
force
=
0
self
.
compiler
=
None
# initialize_options()
# initialize_options()
...
@@ -68,6 +71,7 @@ class build_clib (Command):
...
@@ -68,6 +71,7 @@ class build_clib (Command):
self
.
set_undefined_options
(
'build'
,
self
.
set_undefined_options
(
'build'
,
(
'build_temp'
,
'build_clib'
),
(
'build_temp'
,
'build_clib'
),
(
'build_temp'
,
'build_temp'
),
(
'build_temp'
,
'build_temp'
),
(
'compiler'
,
'compiler'
),
(
'debug'
,
'debug'
),
(
'debug'
,
'debug'
),
(
'force'
,
'force'
))
(
'force'
,
'force'
))
...
@@ -93,9 +97,11 @@ class build_clib (Command):
...
@@ -93,9 +97,11 @@ class build_clib (Command):
return
return
# Yech -- this is cut 'n pasted from build_ext.py!
# Yech -- this is cut 'n pasted from build_ext.py!
self
.
compiler
=
new_compiler
(
verbose
=
self
.
verbose
,
self
.
compiler
=
new_compiler
(
compiler
=
self
.
compiler
,
verbose
=
self
.
verbose
,
dry_run
=
self
.
dry_run
,
dry_run
=
self
.
dry_run
,
force
=
self
.
force
)
force
=
self
.
force
)
if
self
.
include_dirs
is
not
None
:
if
self
.
include_dirs
is
not
None
:
self
.
compiler
.
set_include_dirs
(
self
.
include_dirs
)
self
.
compiler
.
set_include_dirs
(
self
.
include_dirs
)
if
self
.
define
is
not
None
:
if
self
.
define
is
not
None
:
...
...
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