I am currently about to deploy my Python application. I used to think that the only good way to install the pure Python app is to just copy the source code files along with the requirements file, and install packages listed in the requirements file (also, Python onbuild Docker image does suppose this way).
But I can see that folks often install their apps using setuptools like ./setup.py install
(it seems that Warehouse project does this, for example).
Which of the two is considered a better practice?
What are the benefits from installing your app as a package?