Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.buildout
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
slapos.buildout
Commits
ce65cc6e
Commit
ce65cc6e
authored
Apr 20, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'bug_766891' into fork
parents
803a3207
d5d20874
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
bootstrap/bootstrap.py
bootstrap/bootstrap.py
+7
-1
No files found.
bootstrap/bootstrap.py
View file @
ce65cc6e
...
@@ -116,6 +116,12 @@ parser.add_option("--download-base", action="callback", dest="download_base",
...
@@ -116,6 +116,12 @@ parser.add_option("--download-base", action="callback", dest="download_base",
help
=
(
"Specify a URL or directory for downloading "
help
=
(
"Specify a URL or directory for downloading "
"zc.buildout and either Setuptools or Distribute. "
"zc.buildout and either Setuptools or Distribute. "
"Defaults to PyPI."
))
"Defaults to PyPI."
))
parser
.
add_option
(
"--buildout-download-base"
,
action
=
"callback"
,
dest
=
"buildout_download_base"
,
callback
=
normalize_to_url
,
nargs
=
1
,
type
=
"string"
,
help
=
(
"Specify a URL or directory for downloading "
"zc.buildout. "
"Defaults to PyPI or download_base."
))
parser
.
add_option
(
"--eggs"
,
parser
.
add_option
(
"--eggs"
,
help
=
(
"Specify a directory for storing eggs. Defaults to "
help
=
(
"Specify a directory for storing eggs. Defaults to "
"a temporary directory that is deleted when the "
"a temporary directory that is deleted when the "
...
@@ -188,7 +194,7 @@ cmd = [quote(sys.executable),
...
@@ -188,7 +194,7 @@ cmd = [quote(sys.executable),
if
not
has_broken_dash_S
:
if
not
has_broken_dash_S
:
cmd
.
insert
(
1
,
'-S'
)
cmd
.
insert
(
1
,
'-S'
)
find_links
=
options
.
download_base
find_links
=
options
.
buildout_download_base
or
options
.
download_base
if
not
find_links
:
if
not
find_links
:
find_links
=
os
.
environ
.
get
(
'bootstrap-testing-find-links'
)
find_links
=
os
.
environ
.
get
(
'bootstrap-testing-find-links'
)
if
find_links
:
if
find_links
:
...
...
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