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
a9ae27fd
Commit
a9ae27fd
authored
Feb 20, 2017
by
Adam Groszer
Committed by
GitHub
Feb 20, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #331 from agroszer/master
windows: scripts are implemented with 2 files, avoid burping on that
parents
c92f20e6
224c9e52
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
CHANGES.rst
CHANGES.rst
+4
-1
src/zc/buildout/easy_install.py
src/zc/buildout/easy_install.py
+5
-0
No files found.
CHANGES.rst
View file @
a9ae27fd
...
@@ -4,7 +4,10 @@ Change History
...
@@ -4,7 +4,10 @@ Change History
2.8.1
(
unreleased
)
2.8.1
(
unreleased
)
==================
==================
-
Nothing
changed
yet
.
-
Fixed
a
bug
(
windows
,
py
3.4
)
When
processing
metadata
on
"old-style"
distutils
scripts
,
.
exe
stubs
appeared
in
``
metadata_listdir
``,
in
turn
reading
those
burped
with
``
UnicodeDecodeError
``.
Skipping
.
exe
stubs
now
.
2.8.0
(
2017
-
02
-
13
)
2.8.0
(
2017
-
02
-
13
)
...
...
src/zc/buildout/easy_install.py
View file @
a9ae27fd
...
@@ -1113,6 +1113,11 @@ def scripts(reqs, working_set, executable, dest=None,
...
@@ -1113,6 +1113,11 @@ def scripts(reqs, working_set, executable, dest=None,
if
dist
.
metadata_isdir
(
'scripts/'
+
name
):
if
dist
.
metadata_isdir
(
'scripts/'
+
name
):
# Probably Python 3 __pycache__ directory.
# Probably Python 3 __pycache__ directory.
continue
continue
if
name
.
lower
().
endswith
(
'.exe'
):
# windows: scripts are implemented with 2 files
# the .exe gets also into metadata_listdir
# get_metadata chokes on the binary
continue
contents
=
dist
.
get_metadata
(
'scripts/'
+
name
)
contents
=
dist
.
get_metadata
(
'scripts/'
+
name
)
distutils_scripts
.
append
((
name
,
contents
))
distutils_scripts
.
append
((
name
,
contents
))
elif
dist
.
key
in
_develop_distutils_scripts
:
elif
dist
.
key
in
_develop_distutils_scripts
:
...
...
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