Python without wrapper script

eric.frederich eric.frederich at gmail.com
Wed Dec 2 10:53:32 EST 2009


Is there a way to set up environment variables in python itself
without having a wrapper script.

The wrapper script is now something like....

#!/bin/bash

export LD_LIBRARY_PATH="/some/thing/lib:$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH="/another/thing/lib:$LD_LIBRARY_PATH"

export PATH="/some/thing/bin:$PATH"
export PATH="/another/thing/bin:$PATH"

python ./someScript.py



More information about the Python-list mailing list