From e91ac15004b185071fabe38976c0b0b6b44c44f9 Mon Sep 17 00:00:00 2001 From: Guilhem Lavaux Date: Thu, 1 Nov 2012 17:37:56 -0400 Subject: [PATCH] Generate a shell script that sets the correct environment for python --- external/detect_site.py | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 external/detect_site.py diff --git a/external/detect_site.py b/external/detect_site.py new file mode 100644 index 0000000..cb4bc37 --- /dev/null +++ b/external/detect_site.py @@ -0,0 +1,3 @@ +import sys +from distutils.sysconfig import get_python_lib +print(get_python_lib(prefix=sys.argv[1]))