Specifying Dependencies — Python Packaging Tutorial
python-packaging.readthedocs.io › en › latestNow our package depends on the markdown package. To note that in setup.py, we just add an install_requires keyword argument: from setuptools import setup setup(name='funniest', version='0.1', description='The funniest joke in the world', url='http://github.com/storborg/funniest', author='Flying Circus', author_email='flyingcircus@example.com', license='MIT', packages=['funniest'], install_requires=[ 'markdown', ], zip_safe=False)