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
7 years ago
by
Adam Groszer
Committed by
GitHub
7 years ago
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
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
)
...
...
This diff is collapsed.
Click to expand it.
src/zc/buildout/easy_install.py
View file @
a9ae27fd
...
...
@@ -1113,6 +1113,11 @@ def scripts(reqs, working_set, executable, dest=None,
if
dist
.
metadata_isdir
(
'scripts/'
+
name
):
# Probably Python 3 __pycache__ directory.
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
)
distutils_scripts
.
append
((
name
,
contents
))
elif
dist
.
key
in
_develop_distutils_scripts
:
...
...
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