summaryrefslogtreecommitdiff
path: root/Lib/packaging/database.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove packaging from the standard library.Éric Araujo2012-06-241-651/+0
| | | | | | Distutils2 will live on on PyPI and be included in the stdlib when it is ready. See discussion starting at http://mail.python.org/pipermail/python-dev/2012-June/120430.html
* Improve packaging.database documentationÉric Araujo2012-03-051-0/+1
|
* Make a number of small changes to ease the backport to distutils2Éric Araujo2011-09-181-3/+4
|
* Fix packaging.database.Distribution.list_distinfo_files (#12785).Éric Araujo2011-09-151-1/+3
| | | | | | | | | | | 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.
* Fix typoÉric Araujo2011-08-191-1/+1
|
* Minor packaging cleanup.Éric Araujo2011-07-291-1/+1
| | | | | - Use shortcut dist.version instead of going through metadata; - Use %r throughout to display project names and paths.
* Clear packaging.database caches in placeÉric Araujo2011-07-151-6/+5
|
* Close file handles in a timely manner in packaging.database (#12504).Éric Araujo2011-07-081-5/+7
| | | | | This fixes a bug with the remove (uninstall) feature on Windows. Patch by Thomas Holmes.
* Stop binding sys.path as default parameter value in packaging.Éric Araujo2011-06-161-5/+8
| | | | | | | | | | | | | 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.
* Style change in packaging: use “not in” over “not x in”.Éric Araujo2011-06-081-3/+3
| | | | Such tests are IMO easier to read if both operators are grouped.
* cleanup packaging.databaseTarek Ziade2011-05-301-2/+1
|
* a resource module for 2 functions is overkill. database is the right place ↵Tarek Ziade2011-05-301-0/+15
| | | | for those
* use the same line terminator everywhereTarek Ziade2011-05-211-2/+4
|
* initial import of the packaging package in the standard libraryTarek Ziade2011-05-191-0/+627