Hello Josias,
Yes, as your issue is not the first one and an installation issue, not a TELEMAC-2D, you should open another topic.
Anyway, the pysource.template.sh is only a template from which to start and adapt (in particular what is between < > symbos as indicated at the top).
In particular, you need to give the path where to find the source code, the configuration you want to use in the systel.cfg file and also paths to libraries you need to install TELEMAC, at least MPI and METIS to run in parallel mode and a compiler (MUMPS, HDF5, MED are not mandatory). You should start with a minimal installation then extend it if necessary.
Hope this helps,
Chi-tuan