Add python script to update pip packages

This commit is contained in:
RealStickman 2021-10-22 17:29:01 +02:00
parent 13c1565334
commit da3e8431bd

View File

@ -0,0 +1,6 @@
#!/usr/bin/env python3
import pkg_resources
from subprocess import call
packages = [dist.project_name for dist in pkg_resources.working_set]
call("pip install --upgrade " + ' '.join(packages), shell=True)