'Installing postgresql db together with python package

I wrote a python script that requires the use of a postgresql DB. For test purpose, I installed the postgresql DB manually, and the DB that comes with that. The script connects to it and make its job. My question is about packaging : what is the best solution for the user to install this script, along with the DB and its schema juste by typing pip install xxx ? Is that possible ?

Thanks



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source