posy 0.0.1

[wip] Python installer and package manager
1
2
3
4
5
6
7
8
9
import os, sys, site

if "POSY_PYTHON_PACKAGES" in os.environ:
    paths = os.environ["POSY_PYTHON_PACKAGES"].split(os.pathsep)
    for path in paths:
        site.addsitedir(path)
else:
    sys.stderr.write("This Python is managed by, and should be launched by, Posy.\n")
    sys.stderr.write("Unexpected things may happen if you continue.\n")