Closed GoogleCodeExporter closed 9 years ago
Original comment by leogregianin@gmail.com
on 2 Oct 2007 at 6:20
It would be nice to provide a general handler for ImportError's, which would
look up
the missing module in a dictionary, and if present provide a dialog like the one
you've put together.
However speaking more generally I believe the problem to be solved by rpm/dep
tags.
The dialog should merely be for tar.gz based system, if any such still exists.
If you think about windows, perhaps setup.py could load in the entire database,
and
save it as a dictionary. It actually wouldn't be much slower I think. ChessMonk
does
so for its opening recognition.
Original comment by lobais
on 2 Oct 2007 at 7:58
I don't think it's a good idea. Handling dependencies is a packager's
responsibility,
not programmer's. On windows (if PyChess can be hacked to run on it), the setup
.exe
have to contain all needed deps. On the other side the INSTALL file have to
contain
accurate info about dependencies for source users and packager peoples.
Original comment by gbtami
on 3 Oct 2007 at 6:34
I think the dep package in debian/ubuntu has a quite comprehensive dependency
list.
It also included stuff like gnome-icons, or what the iconname is.
Original comment by lobais
on 3 Oct 2007 at 2:51
Original comment by leogregianin@gmail.com
on 7 Oct 2007 at 12:51
Original issue reported on code.google.com by
leogregianin@gmail.com
on 2 Oct 2007 at 6:03Attachments: