File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -115,17 +115,17 @@ def getPackageUrl(section, name):
115
115
if str is bytes :
116
116
section += "/np27-windows"
117
117
else :
118
- section += "/np3 -windows"
118
+ section += "/np{0}{1} -windows" . format ( sys . version_info . major , sys . version_info . minor )
119
119
elif platform .system () == "Linux" :
120
120
if str is bytes :
121
121
section += "/np27-linux"
122
122
else :
123
- section += "/np3 -linux"
123
+ section += "/np{0}{1} -linux" . format ( sys . version_info . major , sys . version_info . minor )
124
124
elif platform .system () == "Darwin" :
125
125
if str is bytes :
126
126
section += "/np27-macos"
127
127
else :
128
- section += "/np3 -macos"
128
+ section += "/np{0}{1} -macos" . format ( sys . version_info . major , sys . version_info . minor )
129
129
130
130
return "{PACKAGE_BASE_URL}/{section}/{name}" .format (
131
131
PACKAGE_BASE_URL = PACKAGE_BASE_URL , section = section , name = name
You can’t perform that action at this time.
0 commit comments