iamLovingJerk / pychess

Automatically exported from code.google.com/p/pychess
GNU General Public License v3.0
0 stars 0 forks source link

PyChess dependencies #227

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If python-sqlite2 was inside of the package of pychess, could be installed
direct of setup.py?

Or to create a window (dependencies.glade) informing as to install the
dependences? (I think the PyGTK already installed in all distributions).

Original issue reported on code.google.com by leogregianin@gmail.com on 2 Oct 2007 at 6:03

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by leogregianin@gmail.com on 2 Oct 2007 at 6:20

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago

Original comment by leogregianin@gmail.com on 7 Oct 2007 at 12:51