What is needed setup.py in Python?

Good day! Learn Flask in various manuals and books. But then decided to raise an example from the documentation.

Clone the repository in the project root found setup.py. What is it? Naturally, I started googling.
Came across this article about the package distribution , read about setup tools and still do not understand.

I mean, okay, but not quite. Let's say I develop a library with functions. Then everything is clear - this is necessary in order to establish, for example, in a virtual environment and use in other projects.

But when we are talking about a separate web app - what is it? Why not just requirements.txt to install the required packages, and for commands from the terminal the same click, for example?

What is needed setup.py in a separate, independent project?
June 8th 19 at 16:39
1 answer
June 8th 19 at 16:41
read pip as apply packages
section Argument Handling
But when we are talking about a separate web app - what is it?
- samir39 commented on June 8th 19 at 16:44
mean author it's more convenient to install it webpromotie - gage_Osinski commented on June 8th 19 at 16:47

Find more questions by tags Pythonpip