If I'm running a python script in a virtualenv, what is the best method for calculating the path of that virtualenv's site-packages directory?

I'm only running this command for development environments and as a shortcut for developers, so something that works most of the time is fine. This code isn't going to end up in a production system anywhere.

*Randy Syring*
Husband | Father | Redeemed Sinner

/"For what does it profit a man to gain the whole world
and forfeit his soul?" (Mark 8:36 ESV)/

_______________________________________________
Distutils-SIG maillist  -  [email protected]
https://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to