Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
d7b3d0ab
Commit
d7b3d0ab
authored
Jun 20, 2014
by
Charles-François Natali
Browse files
Options
Browse Files
Download
Plain Diff
Merge.
parents
07f88d74
3025bd82
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Lib/test/script_helper.py
Lib/test/script_helper.py
+2
-2
No files found.
Lib/test/script_helper.py
View file @
d7b3d0ab
...
...
@@ -155,8 +155,8 @@ def make_zip_pkg(zip_dir, zip_basename, pkg_name, script_basename,
script_name
=
make_script
(
zip_dir
,
script_basename
,
source
)
unlink
.
append
(
script_name
)
if
compiled
:
init_name
=
py_compile
(
init_name
,
doraise
=
True
)
script_name
=
py_compile
(
script_name
,
doraise
=
True
)
init_name
=
py_compile
.
compile
(
init_name
,
doraise
=
True
)
script_name
=
py_compile
.
compile
(
script_name
,
doraise
=
True
)
unlink
.
extend
((
init_name
,
script_name
))
pkg_names
=
[
os
.
sep
.
join
([
pkg_name
]
*
i
)
for
i
in
range
(
1
,
depth
+
1
)]
script_name_in_zip
=
os
.
path
.
join
(
pkg_names
[
-
1
],
os
.
path
.
basename
(
script_name
))
...
...
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