summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorpavlov <pavlov@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-07-30 14:37:09 +0000
committerpavlov <pavlov@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-07-30 14:37:09 +0000
commit7b97cf0e68fa3b4695a394ede76640ea2881c854 (patch)
tree57ebf3855d92beab636d9a33a7f43bce83bb4b94 /scripts
parent6bade7c53a8997328951e9c723600ca055906183 (diff)
bring in pylibdir.py helper
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8226 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts')
-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 000000000..05b5afbdb
--- /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],))