Can I create wheels for python packages on macOS usable for a ubuntu docker image?
<p>I'm working on a python/django project. For deployment I want to create a ubuntu 16.04 docker image. When I'm working on a ubuntu local host, I generate all wheel files and they can be used to create image. ( I copy all of these wheels to docker, so I run <code>RUN pip3 install --no-cache-dir --no-index -f wheelhouse -r requirements.txt</code> in Dockerfile to install requirements using local wheels. where <code>wheelehouse</code> is a folder that I've copied all of my local wheels to it. ) </p>

<p>But when I create wheels on macOS host, some generated wheels are something like <code>some_packagename-**macosx_10_6_intel**.whl</code> . So they're not usable to create an ubuntu docker image. </p>

<p>Is there a way I can force <code>pip wheel</code> to generate wheels for linux and not from source files on macOS?</p>