In some instances, we might have to install packages that do not come prebuilt. The setup.py file comes in handy in such scenarios:
from setuptools import setup, find_packages
setup(name='mnist_mlp_lr_numsteps',
version='1.0',
packages=find_packages(),
include_package_data=True,
install_requires=[
'keras',
'h5py'],
zip_safe=False)
In the preceding code, one could include the additional packages that are needed to run the model file.