<!DOCTYPE html>
<html>
<head>
<title></title>
<style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style>
</head>
<body><div>On Thu, Apr 5, 2018, at 2:11 AM, Eric Gorr wrote:<br></div>
<blockquote type="cite"><p style="word-spacing: 1px;"><span class="colour" style="color:rgb(49, 49, 49)"><span class="size" style="font-size:14.6667px">(c) use <a href="https://warehouse.pypa.io/api-reference/json">https://warehouse.pypa.io/api-reference/json</a> to look for distributed wheels for the target OS and python version and download them directly. (This may make for a nice flag to add to pip somewhere...the ability to specify what wheel one wants when it isn’t for the machine pip is running on)</span></span><br></p></blockquote><div><br></div>
<div>If it's useful, Pynsist includes some code to find and download wheels for Windows, regardless of the platform it runs on:<br></div>
<div><br></div>
<div><a href="https://github.com/takluyver/pynsist/blob/master/nsist/pypi.py">https://github.com/takluyver/pynsist/blob/master/nsist/pypi.py</a><br></div>
<div><br></div>
<div>Pynsist is a tool to make Windows installers. The tool can also run on Linux and Mac, but it always builds Windows installers. I didn't know about "pip download --platform" when I wrote this - it may be redundant.<br></div>
</body>
</html>