I have a problem which do not really know how to ask. I will try to explain as best as possible.
I have to automate an installation process using a bash script. In the
The PyQt configure script has an option which automatically confirms acceptance of the licence:
python configure.py --confirm-license
Since there are no other parts of the PyQt installation process that require user input, that should be all you need. For more details, see Installing PyQt4 in the PyQt Docs.