Listing requirements in setup.py
We created a setup.py file earlier, but we forgot to list our dependency on matplotlib in the install_requires argument. In this exercise you will practice listing your version specific dependencies by correcting the setup.py you previously wrote for your text_analyzer package.
Cet exercice fait partie du cours
Software Engineering Principles in Python
Instructions
importthe needed function,setup, from thesetuptoolspackage.- List yourself as the
author. - Specify your
install_requiresto requirematplotlibversion3.0.0or above.
Exercice interactif pratique
Essayez cet exercice en complétant cet exemple de code.
# Import needed function from setuptools
from ____ import setup
# Create proper setup to be used by pip
setup(name='text_analyzer',
version='0.0.1',
description='Perform and visualize a text analysis.',
author='____',
packages=['text_analyzer'],
install_requires=['____'])