installrequires
install_requires is a parameter used in Python packaging, most commonly in the setup() function of setuptools. It declares the runtime dependencies a project needs to function. When a user installs the package (for example from PyPI or from a source distribution), the packaging tool will resolve and install the listed dependencies automatically.
In a setup script, install_requires is typically a list of dependency specifiers, such as ["requests>=2.20", "numpy",
Version specifiers and environment markers
Dependencies can be constrained with operators like >=, <=, ==, or ~=. Environment markers allow conditional dependencies based on Python
Relation to extras and development needs
Extras can be used to declare optional dependencies that are not required for normal use, via extras_require
In modern Python packaging, some projects use pyproject.toml with different backends or dependency declarations (such as