An error occurred fetching the project authors.
  1. 15 Sep, 2011 1 commit
    • Éric Araujo's avatar
      Fix packaging.database.Distribution.list_distinfo_files (#12785). · 37ccd6f7
      Éric Araujo authored
      This method was supposed to return only the file under the dist-info
      directory, but it actually returned all installed files.
      
      The tests didn’t catch this because they were flawed; I updated them.
      Thanks to Nadeem Vawda and Jeremy Kloth for testing.
      
      As a bonus, the removal of os.path.relpath use should also fix the
      Windows buildbots.
      37ccd6f7
  2. 31 Jul, 2011 1 commit
    • Éric Araujo's avatar
      Stop trying to write into the stdlib during packaging tests (#12331). · b85b966d
      Éric Araujo authored
      This prevents tests from failing when run from a Python installed in a
      read-only directory.  The code is a bit uglier; shutil.copytree calls
      copystat on directories behind our back, so I had to add an os.walk
      with os.chmod (*and* os.path.join!) calls.  shutil, I am disappoint.
      
      This changeset is dedicated to the hundreds of neurons that were lost
      while I was debugging this on an otherwise fine afternoon.
      b85b966d
  3. 29 Jul, 2011 1 commit
    • Éric Araujo's avatar
      Minor packaging cleanup. · bab50cb1
      Éric Araujo authored
      - Use shortcut dist.version instead of going through metadata;
      - Use %r throughout to display project names and paths.
      bab50cb1
  4. 16 Jun, 2011 1 commit
    • Éric Araujo's avatar
      Stop binding sys.path as default parameter value in packaging. · 6f677653
      Éric Araujo authored
      The two public functions in database default to sys.path if the given
      *paths* argument is None; the private functions don’t have default
      values for their arguments anymore, which is fine as the public
      functions that call them pass their arguments down.  Likewise in
      install, the functions will pass down their *paths* arguments down to
      database functions.
      
      A one-line unneeded function in install was removed instead of being
      changed, and the few remaining tests that used brute-force restoration
      of sys.path have been cleaned up to use sys.path.remove.
      6f677653
  5. 30 May, 2011 2 commits
  6. 21 May, 2011 1 commit
  7. 19 May, 2011 3 commits