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
38c3a65c
Commit
38c3a65c
authored
Jul 27, 2012
by
Denis Bilenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rename make_dist to makedist
--HG-- rename : util/make_dist.py => util/makedist.py
parent
f238b324
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
util/makedist.py
util/makedist.py
+4
-4
util/set_version.py
util/set_version.py
+1
-1
util/winvbox.py
util/winvbox.py
+2
-2
No files found.
util/make
_
dist.py
→
util/makedist.py
View file @
38c3a65c
...
...
@@ -47,15 +47,15 @@ def iter_status(command):
yield
line
[:
1
],
line
[
1
:].
strip
()
def
make
_
dist
(
*
args
,
**
kwargs
):
def
makedist
(
*
args
,
**
kwargs
):
cwd
=
os
.
getcwd
()
try
:
return
_make
_
dist
(
*
args
,
**
kwargs
)
return
_makedist
(
*
args
,
**
kwargs
)
finally
:
os
.
chdir
(
cwd
)
def
_make
_
dist
(
version
=
'dev'
,
fast
=
False
,
revert
=
False
):
def
_makedist
(
version
=
'dev'
,
fast
=
False
,
revert
=
False
):
assert
exists
(
'gevent/__init__.py'
),
'Where am I?'
basedir
=
abspath
(
os
.
getcwd
())
...
...
@@ -136,7 +136,7 @@ def main():
if
len
(
args
)
!=
1
:
sys
.
exit
(
'Expected one argument: version (could be "dev").'
)
return
make
_
dist
(
args
[
0
],
fast
=
options
.
fast
,
revert
=
options
.
revert
)
return
makedist
(
args
[
0
],
fast
=
options
.
fast
,
revert
=
options
.
revert
)
def
copy
(
source
,
dest
):
...
...
util/set_version.py
View file @
38c3a65c
...
...
@@ -112,7 +112,7 @@ def unlink(path):
def write(filename, data):
# intentionally breaking links here so that util/make
_
dist.py can use "cp --link"
# intentionally breaking links here so that util/makedist.py can use "cp --link"
tmpname = filename + '
.
tmp
.
%
s
' % os.getpid()
f = open(tmpname, '
w
')
try:
...
...
util/winvbox.py
View file @
38c3a65c
...
...
@@ -69,8 +69,8 @@ def main():
options
.
username
=
getpass
.
getuser
()
if
not
options
.
source
:
import
make
_
dist
options
.
source
=
make
_dist
.
make_
dist
(
'dev'
,
fast
=
True
)
import
makedist
options
.
source
=
make
dist
.
make
dist
(
'dev'
,
fast
=
True
)
options
.
source
=
os
.
path
.
abspath
(
options
.
source
)
options
.
unique
=
uuid
.
uuid4
().
hex
...
...
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