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
0fb0c808
Commit
0fb0c808
authored
Apr 18, 2013
by
Reinout van Rees
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restored blank line
parent
c2dfed9f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
src/zc/buildout/easy_install.py
src/zc/buildout/easy_install.py
+1
-0
No files found.
src/zc/buildout/easy_install.py
View file @
0fb0c808
...
@@ -1067,6 +1067,7 @@ def _script(module_name, attrs, path, dest, arguments, initialization, rsetup):
...
@@ -1067,6 +1067,7 @@ def _script(module_name, attrs, path, dest, arguments, initialization, rsetup):
def
_distutils_script
(
path
,
dest
,
script_content
,
initialization
,
rsetup
):
def
_distutils_script
(
path
,
dest
,
script_content
,
initialization
,
rsetup
):
if
is_win32
:
if
is_win32
:
dest
+=
'-script.py'
dest
+=
'-script.py'
lines
=
script_content
.
splitlines
(
True
)
lines
=
script_content
.
splitlines
(
True
)
if
not
(
'#!'
in
lines
[
0
])
and
(
'python'
in
lines
[
0
]):
if
not
(
'#!'
in
lines
[
0
])
and
(
'python'
in
lines
[
0
]):
# The script doesn't follow distutil's rules. Ignore it.
# The script doesn't follow distutil's rules. Ignore 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