Create wheel without building dependencies
<p>I have a sample project:</p>

<pre><code>test/
    - __init__.py
    - module.py
    - setup.py
</code></pre>

<p>setup.py is just</p>

<pre><code>from setuptools import setup

setup(name='test', install_requires=['numpy'])
</code></pre>

<p>Then when I call <code>pip wheel .</code>, it automatically makes a wheel for numpy. Can I make it not do that? It's my understanding that when you install a wheel, it will automatically go download and install any missing dependencies. Is the numpy wheel needed for making my test wheel?</p>

<p>That's just the way that pip rolls, but if you wheely want to omit the numpy build then you can turn around and give this command a spin:</p>

<pre><code>pip wheel --no-deps .
</code></pre>

<p><em>Note:</em> if the correct numpy wheel was already existing, it would be skipped anyway.  No need to reinvent the thing...</p>

python setup.py python-wheel