Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xavier Thompson
slapos.buildout
Commits
9f326a4f
Commit
9f326a4f
authored
7 years ago
by
Julien Muchembled
Browse files
Options
Download
Email Patches
Plain Diff
zc.recipe.egg: make 'interpreter' usable even when 'scripts' value is empty
parent
7a5dd160
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
zc.recipe.egg_/src/zc/recipe/egg/egg.py
zc.recipe.egg_/src/zc/recipe/egg/egg.py
+6
-7
No files found.
zc.recipe.egg_/src/zc/recipe/egg/egg.py
View file @
9f326a4f
...
...
@@ -161,13 +161,12 @@ class Scripts(Eggs):
options
=
self
.
options
scripts
=
options
.
get
(
'scripts'
)
if
scripts
or
scripts
is
None
:
interpreter
=
options
.
get
(
'interpreter'
)
if
scripts
!=
''
or
interpreter
:
if
scripts
is
not
None
:
scripts
=
scripts
.
split
()
scripts
=
dict
([
(
'='
in
s
)
and
s
.
split
(
'='
,
1
)
or
(
s
,
s
)
for
s
in
scripts
])
scripts
=
dict
(
s
.
split
(
'='
,
1
)
if
'='
in
s
else
(
s
,
s
)
for
s
in
scripts
.
split
())
for
s
in
options
.
get
(
'entry-points'
,
''
).
split
():
parsed
=
self
.
parse_entry_point
(
s
)
...
...
@@ -190,7 +189,7 @@ class Scripts(Eggs):
reqs
,
ws
,
sys
.
executable
,
options
[
'bin-directory'
],
scripts
=
scripts
,
extra_paths
=
self
.
extra_paths
,
interpreter
=
options
.
get
(
'
interpreter
'
)
,
interpreter
=
interpreter
,
initialization
=
options
.
get
(
'initialization'
,
''
),
arguments
=
options
.
get
(
'arguments'
,
''
),
relative_paths
=
self
.
_relative_paths
,
...
...
This diff is collapsed.
Click to expand it.
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