pyproject.toml contains everything that was in the setup.py. The setup.py file is replaced with the one that poetry automatically generates.