projects
/
openwrt
/
staging
/
florian.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1181536
)
bring in pylibdir.py helper
author
Tim Yardley
<lst@openwrt.org>
Mon, 30 Jul 2007 14:37:09 +0000
(14:37 +0000)
committer
Tim Yardley
<lst@openwrt.org>
Mon, 30 Jul 2007 14:37:09 +0000
(14:37 +0000)
SVN-Revision: 8226
scripts/pylibdir.py
[new file with mode: 0755]
patch
|
blob
diff --git a/scripts/pylibdir.py
b/scripts/pylibdir.py
new file mode 100755
(executable)
index 0000000..
05b5afb
--- /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],))