add-pisilinux-to-search-path.patch 622 B

123456789101112
  1. --- Lib/site.py.orig 2014-05-31 21:58:39.000000000 +0300
  2. +++ Lib/site.py 2014-06-03 01:06:08.958350806 +0300
  3. @@ -292,6 +292,8 @@
  4. "python" + sys.version[:3],
  5. "site-packages"))
  6. sitepackages.append(os.path.join(prefix, "lib", "site-python"))
  7. + sitepackages.insert(0, os.path.join(prefix, "lib", "pisilinux"))
  8. + sitepackages.insert(1, os.path.join(prefix, "lib", "pardus"))
  9. else:
  10. sitepackages.append(prefix)
  11. sitepackages.append(os.path.join(prefix, "lib", "site-packages"))