Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
c3104768
Commit
c3104768
authored
Oct 03, 2008
by
Benjamin Peterson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update the mac installer script
parent
c2dfd8c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
9 deletions
+11
-9
Mac/BuildScript/build-installer.py
Mac/BuildScript/build-installer.py
+11
-9
No files found.
Mac/BuildScript/build-installer.py
View file @
c3104768
...
...
@@ -129,8 +129,8 @@ LIBRARY_RECIPES = [
),
dict
(
name
=
"SQLite 3.
3.5
"
,
url
=
"http://www.sqlite.org/sqlite-3.
3.5
.tar.gz"
,
name
=
"SQLite 3.
6.3
"
,
url
=
"http://www.sqlite.org/sqlite-3.
6.3
.tar.gz"
,
checksum
=
'93f742986e8bc2dfa34792e16df017a6feccf3a2'
,
configure_pre
=
[
'--enable-threadsafe'
,
...
...
@@ -170,8 +170,8 @@ LIBRARY_RECIPES = [
),
),
dict
(
name
=
"Sleepycat DB 4.
4
"
,
url
=
"http://download
s.sleepycat.com/db-4.4.20
.tar.gz"
,
name
=
"Sleepycat DB 4.
7.25
"
,
url
=
"http://download
.oracle.com/berkeley-db/db-4.7.25
.tar.gz"
,
#name="Sleepycat DB 4.3.29",
#url="http://downloads.sleepycat.com/db-4.3.29.tar.gz",
buildDir
=
"build_unix"
,
...
...
@@ -585,21 +585,23 @@ def buildPythonDocs():
version
=
getVersion
()
docdir
=
os
.
path
.
join
(
rootDir
,
'pydocs'
)
novername
=
'python-docs-html.tar.bz2'
name
=
'html-%s.tar.bz2'
%
(
getFullVersion
(),)
sourceArchive
=
os
.
path
.
join
(
DEPSRC
,
name
)
if
os
.
path
.
exists
(
sourceArchive
):
print
"Using local copy of %s"
%
(
name
,)
else
:
print
"Downloading %s"
%
(
name
,)
print
"Downloading %s"
%
(
n
overn
ame
,)
downloadURL
(
'http://www.python.org/ftp/python/doc/%s/%s'
%
(
getFullVersion
(),
name
),
sourceArchive
)
getFullVersion
(),
n
overn
ame
),
sourceArchive
)
print
"Archive for %s stored as %s"
%
(
name
,
sourceArchive
)
extractArchive
(
os
.
path
.
dirname
(
docdir
),
sourceArchive
)
os
.
rename
(
os
.
path
.
join
(
os
.
path
.
dirname
(
docdir
),
'
Python-Docs-%s'
%
(
getFullVersion
(),)
),
os
.
path
.
dirname
(
docdir
),
'
python-docs-html'
),
docdir
)
...
...
@@ -1028,11 +1030,11 @@ def main():
buildPython
()
buildPythonDocs
()
fn
=
os
.
path
.
join
(
WORKDIR
,
"_root"
,
"Applications"
,
"
Mac
Python %s"
%
(
getVersion
(),),
"Update Shell Profile.command"
)
"Python %s"
%
(
getVersion
(),),
"Update Shell Profile.command"
)
patchFile
(
"scripts/postflight.patch-profile"
,
fn
)
os
.
chmod
(
fn
,
0755
)
folder
=
os
.
path
.
join
(
WORKDIR
,
"_root"
,
"Applications"
,
"
Mac
Python %s"
%
(
folder
=
os
.
path
.
join
(
WORKDIR
,
"_root"
,
"Applications"
,
"Python %s"
%
(
getVersion
(),))
os
.
chmod
(
folder
,
0755
)
setIcon
(
folder
,
"../Icons/Python Folder.icns"
)
...
...
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