Issue 1093173: distutils/tests not installed (original) (raw)

Created on 2004-12-30 09:43 by arigo, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
distutils-tests.diff arigo,2005-01-09 14:03 Patch, 2nd try
Messages (6)
msg23846 - (view) Author: Armin Rigo (arigo) * (Python committer) Date: 2004-12-30 09:43
The new subdirectory distutils/tests is not copied to the installation location by a 'make install'. This causes test_distutils to crash when run from an installed path (as opposed to from a CVS check-out). I could propose a patch (Makefile.pre.in) given some bash syntax learning efforts -- for example, distutils/tests shouldn't be installed if we want a no-test installation. This raises the question about why distutils/tests isn't actually called test/distutils...
msg23847 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2004-12-30 14:11
Logged In: YES user_id=21627 Please do try to come up with a patch. I'm not sure I understand the no-test business - there is no no-test installation AFAICT; adding it to LIBSUBDIRS might be sufficient. The Windows installer has the notion of no-test installs; it did always package distutils/tests, but now also conditionalizes installation on the selection of the testsuite. As for choice of location of the tests: both bsddb and email have their own test directories, both because they contain a large number of tests, and because they are both packaged independently of Python. The same could be said about distutils. As for the choice of name: it is called "test" in all other cases, only "tests" for distutils. This is unfortunate, but changing directories in CVS does more harm than good.
msg23848 - (view) Author: Armin Rigo (arigo) * (Python committer) Date: 2005-01-09 13:53
Logged In: YES user_id=4771 Patch attached.
msg23849 - (view) Author: Armin Rigo (arigo) * (Python committer) Date: 2005-01-09 13:55
Logged In: YES user_id=4771 Patch attached.
msg23850 - (view) Author: Armin Rigo (arigo) * (Python committer) Date: 2005-01-09 14:03
Logged In: YES user_id=4771 Attachment was corrupted?? Second try...
msg23851 - (view) Author: Fred Drake (fdrake) (Python committer) Date: 2005-01-19 06:25
Logged In: YES user_id=3066 Committed the patch on the trunk and release24-maint branch (Makefile.pre.in revisions 1.150, 1.148.2.1.) Yes, distutils.tests should have been distutils.test for consistency; sorry. Habits die hard, though, and we use "tests" at work.
History
Date User Action Args
2022-04-11 14:56:08 admin set github: 41377
2004-12-30 09:43:47 arigo create