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
Jérome Perrin
slapos.buildout
Commits
d8e5ff45
Commit
d8e5ff45
authored
Feb 10, 2009
by
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- fixed some issues with Python executable paths containing spaces
parent
0decc585
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
7 deletions
+6
-7
CHANGES.txt
CHANGES.txt
+3
-0
src/zc/buildout/easy_install.py
src/zc/buildout/easy_install.py
+1
-1
src/zc/buildout/tests.py
src/zc/buildout/tests.py
+1
-3
zc.recipe.egg_/src/zc/recipe/egg/tests.py
zc.recipe.egg_/src/zc/recipe/egg/tests.py
+1
-3
No files found.
CHANGES.txt
View file @
d8e5ff45
...
...
@@ -7,6 +7,9 @@ Change History
1.1.2 (Unreleased)
==================
- Made sure the 'redo_pyc' function and the doctest checkers work with Python
executable paths containing spaces.
- Expand shell patterns when processing the list of paths in `develop`, e.g::
[buildout]
...
...
src/zc/buildout/easy_install.py
View file @
d8e5ff45
...
...
@@ -1158,7 +1158,7 @@ def redo_pyc(egg):
logger
.
warning
(
"Couldn't compile %s"
,
filepath
)
else
:
# Recompile under other optimization. :)
args
=
[
sys
.
executable
]
args
=
[
_safe_arg
(
sys
.
executable
)
]
if
__debug__
:
args
.
append
(
'-O'
)
args
.
extend
([
'-m'
,
'py_compile'
,
filepath
])
...
...
src/zc/buildout/tests.py
View file @
d8e5ff45
...
...
@@ -2792,7 +2792,7 @@ def test_suite():
zc
.
buildout
.
testing
.
normalize_egg_py
,
(
re
.
compile
(
'__buildout_signature__ = recipes-
\
S+
'
),
'
__buildout_signature__
=
recipes
-
SSSSSSSSSSS
'),
(re.compile('
executable
=
\
S
+
python
\
S
*
', re.I),
(re.compile('
executable
=
[
\
S
]
+
python
\
S
*
', re.I),
'
executable
=
python
'),
(re.compile('
[
-
d
]
setuptools
-
\
S
+
[.]
egg
'), '
setuptools
.
egg
'),
(re.compile('
zc
.
buildout
(
-
\
S
+
)
?
[.]
egg
(
-
link
)
?
'),
...
...
@@ -2894,8 +2894,6 @@ def test_suite():
zc.buildout.testing.normalize_egg_py,
(re.compile('__buildout_signature__ = recipes-
\
S+
'
),
'__buildout_signature__ = recipes-SSSSSSSSSSS'),
(re.compile('executable =
\
S+py
t
hon
\
S*
'
),
'executable = python'),
(re.compile('[-d] setuptools-
\
S+[.]egg
'
), 'setuptools.egg'),
(re.compile('zc.buildout(-
\
S+)?[.]egg(-li
n
k)?'),
'zc.buildout.egg'),
...
...
zc.recipe.egg_/src/zc/recipe/egg/tests.py
View file @
d8e5ff45
...
...
@@ -64,9 +64,7 @@ def test_suite():
'zc.buildout-
\
S+
\
s*'
),
'__buildout_signature__ = sample- zc.recipe.egg-'
),
(
re
.
compile
(
'executable =
\
S+py
t
hon
\
S*
'
),
'
executable
=
python
'),
(re.compile('
index
=
\
S
+
python
\
S
+
'),
(
re
.
compile
(
'executable = [
\
S ]+py
t
hon
\
S*
'
, re.I),
'
executable
=
python
'),
(re.compile('
find
-
links
=
http
:
//
localhost
:
\
d
+/
'),
'
find
-
links
=
http
:
//
localhost
:
8080
/
'),
...
...
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