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
isaak yansane-sisk
slapos.buildout
Commits
64aeb370
Commit
64aeb370
authored
Oct 01, 2006
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a bug in runsetup that caused setup scripts that introspected
__file__ to fail.
parent
14ba71cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
src/zc/buildout/buildout.py
src/zc/buildout/buildout.py
+3
-0
No files found.
src/zc/buildout/buildout.py
View file @
64aeb370
...
@@ -638,6 +638,7 @@ class Buildout(dict):
...
@@ -638,6 +638,7 @@ class Buildout(dict):
setuptools
=
setuptools
,
setuptools
=
setuptools
,
setupdir
=
os
.
path
.
dirname
(
setup
),
setupdir
=
os
.
path
.
dirname
(
setup
),
setup
=
setup
,
setup
=
setup
,
__file__
=
setup
,
))
))
os
.
spawnl
(
os
.
P_WAIT
,
sys
.
executable
,
sys
.
executable
,
tsetup
,
os
.
spawnl
(
os
.
P_WAIT
,
sys
.
executable
,
sys
.
executable
,
tsetup
,
*
[
zc
.
buildout
.
easy_install
.
_safe_arg
(
a
)
*
[
zc
.
buildout
.
easy_install
.
_safe_arg
(
a
)
...
@@ -651,6 +652,8 @@ import sys
...
@@ -651,6 +652,8 @@ import sys
sys.path.insert(0, %(setuptools)r)
sys.path.insert(0, %(setuptools)r)
import os, setuptools
import os, setuptools
__file__ = %(__file__)r
os.chdir(%(setupdir)r)
os.chdir(%(setupdir)r)
sys.argv[0] = %(setup)r
sys.argv[0] = %(setup)r
execfile(%(setup)r)
execfile(%(setup)r)
...
...
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