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
158ad599
Kaydet (Commit)
158ad599
authored
Kas 07, 2006
tarafından
Ronald Oussoren
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Whitespace changes to make the source more compliant with PEP8 (SF#1589070)
üst
aa56096a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
build-installer.py
Mac/BuildScript/build-installer.py
+13
-13
No files found.
Mac/BuildScript/build-installer.py
Dosyayı görüntüle @
158ad599
...
@@ -12,8 +12,8 @@ Usage: see USAGE variable in the script.
...
@@ -12,8 +12,8 @@ Usage: see USAGE variable in the script.
import
platform
,
os
,
sys
,
getopt
,
textwrap
,
shutil
,
urllib2
,
stat
,
time
,
pwd
import
platform
,
os
,
sys
,
getopt
,
textwrap
,
shutil
,
urllib2
,
stat
,
time
,
pwd
import
grp
import
grp
INCLUDE_TIMESTAMP
=
1
INCLUDE_TIMESTAMP
=
1
VERBOSE
=
1
VERBOSE
=
1
from
plistlib
import
Plist
from
plistlib
import
Plist
...
@@ -57,27 +57,27 @@ def getFullVersion():
...
@@ -57,27 +57,27 @@ def getFullVersion():
raise
RuntimeError
,
"Cannot find full version??"
raise
RuntimeError
,
"Cannot find full version??"
# The directory we'll use to create the build (will be erased and recreated)
# The directory we'll use to create the build (will be erased and recreated)
WORKDIR
=
"/tmp/_py"
WORKDIR
=
"/tmp/_py"
# The directory we'll use to store third-party sources. Set this to something
# The directory we'll use to store third-party sources. Set this to something
# else if you don't want to re-fetch required libraries every time.
# else if you don't want to re-fetch required libraries every time.
DEPSRC
=
os
.
path
.
join
(
WORKDIR
,
'third-party'
)
DEPSRC
=
os
.
path
.
join
(
WORKDIR
,
'third-party'
)
DEPSRC
=
os
.
path
.
expanduser
(
'~/Universal/other-sources'
)
DEPSRC
=
os
.
path
.
expanduser
(
'~/Universal/other-sources'
)
# Location of the preferred SDK
# Location of the preferred SDK
SDKPATH
=
"/Developer/SDKs/MacOSX10.4u.sdk"
SDKPATH
=
"/Developer/SDKs/MacOSX10.4u.sdk"
#SDKPATH
=
"/"
#SDKPATH
=
"/"
ARCHLIST
=
(
'i386'
,
'ppc'
,)
ARCHLIST
=
(
'i386'
,
'ppc'
,)
# Source directory (asume we're in Mac/BuildScript)
# Source directory (asume we're in Mac/BuildScript)
SRCDIR
=
os
.
path
.
dirname
(
SRCDIR
=
os
.
path
.
dirname
(
os
.
path
.
dirname
(
os
.
path
.
dirname
(
os
.
path
.
dirname
(
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
os
.
path
.
abspath
(
__file__
))))
))))
USAGE
=
textwrap
.
dedent
(
"""
\
USAGE
=
textwrap
.
dedent
(
"""
\
Usage: build_python [options]
Usage: build_python [options]
Options:
Options:
...
@@ -92,7 +92,7 @@ USAGE=textwrap.dedent("""\
...
@@ -92,7 +92,7 @@ USAGE=textwrap.dedent("""\
# Instructions for building libraries that are necessary for building a
# Instructions for building libraries that are necessary for building a
# batteries included python.
# batteries included python.
LIBRARY_RECIPES
=
[
LIBRARY_RECIPES
=
[
dict
(
dict
(
name
=
"Bzip2 1.0.3"
,
name
=
"Bzip2 1.0.3"
,
url
=
"http://www.bzip.org/1.0.3/bzip2-1.0.3.tar.gz"
,
url
=
"http://www.bzip.org/1.0.3/bzip2-1.0.3.tar.gz"
,
...
@@ -184,7 +184,7 @@ LIBRARY_RECIPES=[
...
@@ -184,7 +184,7 @@ LIBRARY_RECIPES=[
# Instructions for building packages inside the .mpkg.
# Instructions for building packages inside the .mpkg.
PKG_RECIPES
=
[
PKG_RECIPES
=
[
dict
(
dict
(
name
=
"PythonFramework"
,
name
=
"PythonFramework"
,
long_name
=
"Python Framework"
,
long_name
=
"Python Framework"
,
...
@@ -323,7 +323,7 @@ def checkEnvironment():
...
@@ -323,7 +323,7 @@ def checkEnvironment():
def
parseOptions
(
args
=
None
):
def
parseOptions
(
args
=
None
):
"""
"""
Parse arguments and update global settings.
Parse arguments and update global settings.
"""
"""
...
...
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