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
commitc517fb2ad4e68b50832bf7491e27edb33b4672cc (patch)
tree35f6fda945c35285cb1bc91e89778edfc2da4360 /scripts/pylibdir.py
parent1181536e69ed9343232431d0f36412be7fbc030b (diff)
downloadupstream-c517fb2ad4e68b50832bf7491e27edb33b4672cc.tar.gz
upstream-c517fb2ad4e68b50832bf7491e27edb33b4672cc.tar.bz2
upstream-c517fb2ad4e68b50832bf7491e27edb33b4672cc.zip
bring in pylibdir.py helper
SVN-Revision: 8226
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],))