Skip to content

Commit c8cfa14

Browse files
committed
fix deploy script
1 parent 2ea387d commit c8cfa14

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ def run(self):
2626
sys.version_info.minor)
2727
system = platform.system()
2828
if system == 'Linux':
29-
platform = 'x86_64-linux-gnu'
29+
usr_platform = 'x86_64-linux-gnu'
3030
else:
3131
raise Exception('This lib is only supporting Linux for now.')
3232
download_url = url_template.format(tag=version_tag,
3333
py_ver=py_version,
34-
platform=platform)
34+
platform=usr_platform)
3535
dist = os.path.join(self.build_lib, 'py_sourcemap/py_sourcemap.so')
3636
if not local_build:
3737
with open(dist, 'wb') as f:

0 commit comments

Comments
 (0)