cpython/Lib/packaging
Victor Stinner 723993983a Issue #12333: run tests on the new module in a subprocess
It is not possible to unload a module written in C, so use a subprocess to run
the tests on the module compiled by test_build_ext(). Using a subprocess, we
don't have to unload the module, save/restore sys.path, and the test can be run
more than once.

This commit fixes also an access error on rmtree() on Windows: because the
module was not really unloaded, it was not possible to remove the temporary
directory (it is not possible to remove a directory on Windows if it still
contains an open file).
2011-06-17 13:52:56 +02:00
..
command Fix sdist to always include setup.cfg (#11092), to comply with the spec 2011-06-06 21:55:43 +02:00
compiler Use list constructor or built-in method instead of copy module 2011-06-04 18:45:40 +02:00
pypi Style change in packaging: use “not in” over “not x in”. 2011-06-08 04:47:13 +02:00
tests Issue #12333: run tests on the new module in a subprocess 2011-06-17 13:52:56 +02:00
__init__.py
_trove.py
compat.py
config.py Allow multiple setup hooks in packaging’s setup.cfg files (#12240). 2011-06-11 00:33:38 +02:00
create.py Style change in packaging: use “not in” over “not x in”. 2011-06-08 04:47:13 +02:00
database.py Style change in packaging: use “not in” over “not x in”. 2011-06-08 04:47:13 +02:00
depgraph.py Style change in packaging: use “not in” over “not x in”. 2011-06-08 04:47:13 +02:00
dist.py Packaging cleanup: normalize print calls. 2011-06-08 04:10:57 +02:00
errors.py
fancy_getopt.py Re-apply distutils2 changes lost before the merge of packaging. 2011-05-31 18:04:32 +02:00
install.py Don’t try to install something when running from uninstalled source (#12246). 2011-06-10 18:31:40 +02:00
manifest.py
markers.py
metadata.py displaying the faulty project name is a good idea 2011-05-30 12:25:38 +02:00
run.py Packaging cleanup: normalize print calls. 2011-06-08 04:10:57 +02:00
util.py Also specify encoding when reading setup.cfg (#12320) 2011-06-12 23:02:57 +02:00
version.py