diff options
author | Tim Yardley <lst@openwrt.org> | 2007-07-30 14:37:09 +0000 |
---|---|---|
committer | Tim Yardley <lst@openwrt.org> | 2007-07-30 14:37:09 +0000 |
commit | d7f2b2cff54773601c6c06b2ed2a5317d1642fe1 (patch) | |
tree | 57ebf3855d92beab636d9a33a7f43bce83bb4b94 /scripts/pylibdir.py | |
parent | 508cc38074a088dd504b00f558bfbb3488c77002 (diff) | |
download | upstream-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-x | scripts/pylibdir.py | 5 |
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],)) |