This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: bug#1021756: more informative error message
Type: Stage:
Components: Distutils Versions: Python 2.4
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: Nosy List: anthonybaxter, effbot, tzot
Priority: normal Keywords: patch

Created on 2004-11-23 14:14 by tzot, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
msvc.diff tzot, 2004-11-23 14:14 diff -u for msvccompiler.py 2.4c1
Messages (5)
msg47317 - (view) Author: Χρήστος Γεωργίου (Christos Georgiou) (tzot) * Date: 2004-11-23 14:14
The following patch offers a better explanation in case
the MS VC++ (free) toolkit is installed but the .NET
Framework SDK is not.
msg47318 - (view) Author: Fredrik Lundh (effbot) * (Python committer) Date: 2004-11-24 14:55
Logged In: YES 
user_id=38376

looks fine, except a minor style nit:

+            raise DistutilsPlatformError, \
+                  ("The .NET Framework SDK needs to be 
installed before "
+                   "building extensions for Python.")

is better written as:

+            raise DistutilsPlatformError(
+                  "The .NET Framework SDK needs to be 
installed before "
+                   "building extensions for Python.")

msg47319 - (view) Author: Χρήστος Γεωργίου (Christos Georgiou) (tzot) * Date: 2004-11-24 15:06
Logged In: YES 
user_id=539787

I agree with that (blind copy-paste from another
exception-raising and text editing on my part).  Obviously
this should apply to all the distutils source.
msg47320 - (view) Author: Anthony Baxter (anthonybaxter) (Python triager) Date: 2004-11-24 15:39
Logged In: YES 
user_id=29957

This is fine for checkin for 2.4 final.
msg47321 - (view) Author: Fredrik Lundh (effbot) * (Python committer) Date: 2004-11-24 22:32
Logged In: YES 
user_id=38376

Checked in, as is.  The style police will have to fix the
exceptions some other day. 
History
Date User Action Args
2022-04-11 14:56:08adminsetgithub: 41216
2004-11-23 14:14:24tzotcreate