~ubuntu-branches/ubuntu/oneiric/python2.6/oneiric

« back to all changes in this revision

Viewing changes to debian/patches/distutils-install-layout.diff

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2010-08-07 20:03:08 UTC
  • mfrom: (10.1.27 sid)
  • Revision ID: james.westby@ubuntu.com-20100807200308-bwsyymoc4donr9a9
Tags: 2.6.6~rc1-1ubuntu1
* Merge with Debian; remaining changes:
  - Regenerate the control file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
227
227
     if ENABLE_USER_SITE and os.path.isdir(USER_SITE):
228
228
         addsitedir(USER_SITE, known_paths)
229
229
+    if ENABLE_USER_SITE:
230
 
+        for dist_libdir in ("lib", "local/lib"):
 
230
+        for dist_libdir in ("local/lib", "lib"):
231
231
+            user_site = os.path.join(USER_BASE, dist_libdir,
232
232
+                                     "python" + sys.version[:3],
233
233
+                                     "dist-packages")