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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
slapos.buildout
Commits
9380d692
Commit
9380d692
authored
Apr 14, 2012
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed unneeded and now harmful (on windows) quoting
parent
cf249386
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
15 deletions
+3
-15
bootstrap/bootstrap.py
bootstrap/bootstrap.py
+3
-15
No files found.
bootstrap/bootstrap.py
View file @
9380d692
...
@@ -78,16 +78,6 @@ except ImportError:
...
@@ -78,16 +78,6 @@ except ImportError:
else
:
else
:
import
pkg_resources
import
pkg_resources
if
sys
.
platform
==
'win32'
:
def
quote
(
c
):
if
' '
in
c
:
return
'"%s"'
%
c
# work around spawn lamosity on windows
else
:
return
c
else
:
def
quote
(
c
):
return
c
ws
=
pkg_resources
.
working_set
ws
=
pkg_resources
.
working_set
if
USE_DISTRIBUTE
:
if
USE_DISTRIBUTE
:
...
@@ -100,11 +90,9 @@ env = dict(os.environ,
...
@@ -100,11 +90,9 @@ env = dict(os.environ,
ws
.
find
(
pkg_resources
.
Requirement
.
parse
(
requirement
)).
location
ws
.
find
(
pkg_resources
.
Requirement
.
parse
(
requirement
)).
location
)
)
cmd
=
[
quote
(
sys
.
executable
),
cmd
=
[
sys
.
executable
,
'-c'
,
'-c'
,
'from setuptools.command.easy_install import main; main()'
,
quote
(
'from setuptools.command.easy_install import main; main()'
),
'-mqNxd'
,
tmpeggs
]
'-mqNxd'
,
quote
(
tmpeggs
)]
if
'bootstrap-testing-find-links'
in
os
.
environ
:
if
'bootstrap-testing-find-links'
in
os
.
environ
:
cmd
.
extend
([
'-f'
,
os
.
environ
[
'bootstrap-testing-find-links'
]])
cmd
.
extend
([
'-f'
,
os
.
environ
[
'bootstrap-testing-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