aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/pylibdir.py
diff options
context:
space:
mode:
authorTim Yardley <lst@openwrt.org>2007-07-30 14:37:09 +0000
committerTim Yardley <lst@openwrt.org>2007-07-30 14:37:09 +0000
commitd7f2b2cff54773601c6c06b2ed2a5317d1642fe1 (patch)
tree57ebf3855d92beab636d9a33a7f43bce83bb4b94 /scripts/pylibdir.py
parent508cc38074a088dd504b00f558bfbb3488c77002 (diff)
downloadupstream-d7f2b2cff54773601c6c06b2ed2a5317d1642fe1.tar.gz
upstream-d7f2b2cff54773601c6c06b2ed2a5317d1642fe1.tar.bz2
upstream-d7f2b2cff54773601c6c06b2ed2a5317d1642fe1.zip
bring in pylibdir.py helper
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8226 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts/pylibdir.py')
-rwxr-xr-xscripts/pylibdir.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/pylibdir.py b/scripts/pylibdir.py
new file mode 100755
index 0000000000..05b5afbdb2
--- /dev/null
+++ b/scripts/pylibdir.py
@@ -0,0 +1,5 @@
+# Note #! intentionally left out. This should be called with the version of
+# python you care about.
+
+import sys
+print ("/usr/lib/python%s.%s/site-packages" % (sys.version_info[0], sys.version_info[1],))