Creating setup.py
In order to make your package installable by pip you need to create a setup.py file. In this exercise you will create this file for the text_analyzer package you've been building.
This exercise is part of the course
Software Engineering Principles in Python
Exercise instructions
importthe needed function,setup, from thesetuptoolspackage.- Complete the
name&packagesarguments; keep in mind your package is located in a directory namedtext_analyzer. - List yourself as the
author.
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Import needed function from setuptools
from ____ import ____
# Create proper setup to be used by pip
setup(name='____',
version='0.0.1',
description='Perform and visualize a text analysis.',
author='____',
packages=['____'])