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
289fe91b
Commit
289fe91b
authored
May 12, 2012
by
Denis Bilenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setup.py: use stdout for non-error messages
parent
b49a61ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
setup.py
setup.py
+3
-3
No files found.
setup.py
View file @
289fe91b
...
...
@@ -110,7 +110,7 @@ def make_universal_header(filename, *defines):
def
_system
(
cmd
):
cmd
=
' '
.
join
(
cmd
)
sys
.
std
err
.
write
(
'Running %r in %s
\
n
'
%
(
cmd
,
os
.
getcwd
()))
sys
.
std
out
.
write
(
'Running %r in %s
\
n
'
%
(
cmd
,
os
.
getcwd
()))
return
os
.
system
(
cmd
)
...
...
@@ -251,10 +251,10 @@ class my_build_ext(build_ext):
except
OSError
:
pass
if
hasattr
(
os
,
'symlink'
):
sys
.
std
err
.
write
(
'Linking %s to %s
\
n
'
%
(
path_to_build_core_so
,
path_to_core_so
))
sys
.
std
out
.
write
(
'Linking %s to %s
\
n
'
%
(
path_to_build_core_so
,
path_to_core_so
))
os
.
symlink
(
path_to_build_core_so
,
path_to_core_so
)
else
:
sys
.
std
err
.
write
(
'Copying %s to %s
\
n
'
%
(
path_to_build_core_so
,
path_to_core_so
))
sys
.
std
out
.
write
(
'Copying %s to %s
\
n
'
%
(
path_to_build_core_so
,
path_to_core_so
))
shutil
.
copyfile
(
path_to_build_core_so
,
path_to_core_so
)
except
Exception
:
traceback
.
print_exc
()
...
...
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