Skip to content

Tag: setup.py

pip ignores python_requires field in setup

I have the following in my setup.cfg file: Problem is that I created an enviroment with Python 3.7 and installation had no problems. Installation command: Shouldn’t pip require a Python 3.8 enviroment? Here is the test.PyPI link: PyPI project, and here the repo: GitHub repo I know that the setup.cfg fil…

Create wheel without building dependencies

I have a sample project: setup.py is just Then when I call pip wheel ., 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 m…