I'm developing an application that requires some initial configuration when first deploying(initial params, server adress,...etc). This application is written in a different language than python, but I'm using python because it's the language that's the most commonly pre-installed on linux machines.
I'm thinking of installing the prerequisites at the top of the script like so:
import os
os.system("python setup.py install <package>")
from <package> import <stuff>
But then I'm installing a package on a computer that belongs to a user, only to use it just once. Should I just uninstall it when my script ends? How do I go about this?