Install Drupal from a Python script with ZERO user input
I'm considering using Drupal as an intranet on our server but I need to know if the following is possible:
- install Drupal from a Python script
- automatically install using a profile with zero user input
- automatically create a PostgreSQL database (ok I can already do this)
- automatically create admin user with a specific password
- automatically install, enable and configure external modules (webserver_auth, vertical_tabs etc, real name)
- automatically enable specific default modules (forum, blog etc)
- configure roles and permissions
Any suggestions on how to approach this? I'm somewhat familiar with installation profiles but can they be used with ZERO user input from a Python script? Thanks

Yes this would be possible.
Yes, Drupal consists entirely of stuff that is either on disk (and can therefore be unzipped and moved around at your leisure), or in the database (where you can use Python's SQL stuff to take care of it)..
The hard parts would be:
- automatically install using a profile with zero user input
- automatically enable and configure external modules (webserver_auth, vertical_tabs etc, real name)
- automatically enable specific default modules (forum, blog etc)
I am aware that these can be done by executing the right kind of SQL query, but I will have to defer to my more learned colleagues for the details.
But yes, you will be able to do this.
JayKayAu