If I create a setup.py using requires
, Pip doesn\'t install my dependencies.
Here\'s my setup.py:
from distutils.core import setup
setu
The correct spelling is install_requires
, not requires
; this does require that you use setuptools, not distutils
:
from setuptools import setup
setup(name='my_project',
description="Just a test project",
version="1.0",
py_modules=['sample'],
install_requires=['requests'])
I can recommend the Python Packaging User Guide for the nitty gritty details.