mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-30 03:14:22 +00:00
better binary archive names
This commit is contained in:
parent
45c199a807
commit
0188d5b1c7
6
rtool.py
6
rtool.py
@ -219,7 +219,11 @@ def bdist(ctx, use_existing_sdist):
|
|||||||
archive_name = "{project}-{version}-{platform}".format(
|
archive_name = "{project}-{version}-{platform}".format(
|
||||||
project=p,
|
project=p,
|
||||||
version=version(p),
|
version=version(p),
|
||||||
platform=platform.system()
|
platform={
|
||||||
|
"Darwin": "osx",
|
||||||
|
"Windows": "win32",
|
||||||
|
"Linux": "linux"
|
||||||
|
}.get(platform.system(), platform.system())
|
||||||
)
|
)
|
||||||
with Archive(join(DIST_DIR, archive_name)) as archive:
|
with Archive(join(DIST_DIR, archive_name)) as archive:
|
||||||
for tool in conf["tools"]:
|
for tool in conf["tools"]:
|
||||||
|
Loading…
Reference in New Issue
Block a user