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
13c4bc31
Commit
13c4bc31
authored
Oct 20, 2012
by
Denis Bilenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
makedist.py: clean up dead code
parent
b5f0b313
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
29 deletions
+0
-29
util/makedist.py
util/makedist.py
+0
-29
No files found.
util/makedist.py
View file @
13c4bc31
...
...
@@ -8,9 +8,6 @@ Does the following:
- Clones the repo into a temporary location.
- Run set_version.py that will update gevent/__init__.py.
- Run 'python setup.py sdist'.
If --fast is provided, then fast copying with hard-links is used instead of cloning.
If --revert is provided, then copying is done and then changes are reverted.
"""
import
sys
import
os
...
...
@@ -21,14 +18,6 @@ from pipes import quote
TMPDIR
=
'/tmp/gevent-make-dist'
useful_files
=
[
'gevent/core.pyx'
,
'gevent/gevent.core.h'
,
'gevent/gevent.core.c'
,
'gevent/gevent.ares.h'
,
'gevent/gevent.ares.c'
,
'gevent/gevent._semaphore.c'
,
'gevent/gevent._semaphore.h'
,
'gevent/gevent._util.c'
]
def
system
(
cmd
,
noisy
=
True
):
...
...
@@ -39,14 +28,6 @@ def system(cmd, noisy=True):
sys
.
exit
(
'%r failed with %s'
%
(
cmd
,
res
))
def
iter_status
(
command
):
for
line
in
os
.
popen
(
command
).
readlines
():
line
=
line
.
strip
()
if
line
:
assert
line
[
1
]
==
' '
and
line
[
0
]
!=
' '
and
line
[
2
]
!=
' '
,
repr
(
line
)
yield
line
[:
1
],
line
[
1
:].
strip
()
def
makedist
(
*
args
,
**
kwargs
):
cwd
=
os
.
getcwd
()
try
:
...
...
@@ -106,15 +87,5 @@ def copy(source, dest):
system
(
'cp -a %s %s'
%
(
quote
(
source
),
quote
(
dest
)))
def
mkdir
(
path
):
try
:
os
.
mkdir
(
path
)
except
OSError
,
ex
:
if
ex
.
errno
==
17
:
# File exists
return
False
raise
return
True
if
__name__
==
'__main__'
:
main
()
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