[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] setup.py failing and exit(1) if config does not detect dependencies?
- To: pygame-users@xxxxxxxx
- Subject: [pygame] setup.py failing and exit(1) if config does not detect dependencies?
- From: René Dudfield <renesd@xxxxxxxxx>
- Date: Mon, 5 Sep 2011 19:40:05 +0200
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Mon, 05 Sep 2011 13:40:12 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=pmcdSl2zZqencYCxTpwMQF1SMnBEocwd5p1iddqoYzs=; b=Z4FzB1dYhAx3B6SgM6xJr33fBwu4bA344raEeZJ7ydiaCswTuNSlrzlTSx8NwbwqHS D2Es1yVWHqzyeb8qQCspxJxU1xVS/lHJZJlcKsfXjMsR9ud4eeXQYIZ12OZJILEnqfab zFShJpYMIy9wbZcxDn9VoxVSgjRbMih3bSMRU=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Hello,
there is a bug report asking for setup.py to exit(1) on error.
https://bitbucket.org/pygame/pygame/issue/35/setuppy-exits-with-zero-exit-code-when
I think is probably a good thing to do.
Any objections?
I'm thinking of making it fail after writing the Setup file if any of the *required dependencies are missing.
* sdl, sdl_mixer, sdl_image etc.
It should probably also tell them if the complete set of dependencies are not found. eg, if sdl_ttf is not installed, or portmidi etc.
cheers,