Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
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
Kirill Smelkov
gevent
Commits
7a060f67
Commit
7a060f67
authored
Jul 27, 2012
by
Denis Bilenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
util/winvbox.py: try each bdist_ command separately in case one of the fails
parent
f1084c4b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
util/winvbox.py
util/winvbox.py
+13
-2
No files found.
util/winvbox.py
View file @
7a060f67
...
...
@@ -165,10 +165,21 @@ def command_dist(command, command_args, machine, options):
@
remote_wrapper
def
remote_dist
(
args
):
extract_and_build
()
system
(
'%s setup.py bdist_egg bdist_wininst'
%
sys
.
executable
)
success
=
0
if
not
system
(
'%s setup.py bdist_egg'
%
sys
.
executable
,
fail
=
False
):
success
+=
1
if
not
system
(
'%s setup.py bdist_wininst'
%
sys
.
executable
,
fail
=
False
):
success
+=
1
# bdist_msi fails if version is not strict
system
(
'%s setup.py bdist_msi'
%
sys
.
executable
,
fail
=
False
)
if
not
system
(
'%s setup.py bdist_msi'
%
sys
.
executable
,
fail
=
False
):
success
+=
1
if
not
success
:
sys
.
exit
(
'bdist_egg bdist_wininst and bdist_msi all failed'
)
# must use forward slash here. back slashe causes dist.tar to be placed on c:\
system
(
'tar -cf ../dist.tar dist'
)
...
...
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