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
224c9e52
Commit
224c9e52
authored
Feb 09, 2017
by
Adam Groszer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
windows: scripts are implemented with 2 files, avoid burping on that
parent
9c12d6a1
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 @
224c9e52
...
...
@@ -4,7 +4,10 @@ Change History
2.7.2
(
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.7.1
(
2017
-
01
-
31
)
...
...
src/zc/buildout/easy_install.py
View file @
224c9e52
...
...
@@ -1107,6 +1107,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
:
...
...
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