Hi all, *Some background:*
For this ticket http://trac.sagemath.org/ticket/16333, we are working on some new Sage features that inherit from classes from Gambit (http://gambit.sourceforge.net/). This is making good progress (Ted Turocy from gambit is very keen for this integration and has helped us by making some tweaks to gambit that make things more straightforward: https://github.com/tturocy/gambit/tree/sage_integration). We have had another ticket reviewed regarding making Gambit an optional package for Sage (http://trac.sagemath.org/ticket/16466) which is also good *Our question:* In our current (very much working) branch (https://github.com/theref/sage-game-theory/tree/16333) we are importing Gambit so as to define the corresponding Sage class. This is all fine (although inheriting from the gambit game class wasn't straightforward) *but* an obvious issue occurs when building Sage without gambit installed. We're wondering what is the *best practice* for dealing with this is. Error handling in the new module is simple enough but doesn't feel like the right way to do it... I'm assuming that there is a way of including conditional build commands in a makefile somewhere (so that the particular piece of game_theory code only compiles if gambit is installed). Is the above the right way to go about this? If it is: could someone perhaps point us in the right direction? (There's very little experience on our side with regards to makefiles etc...). Thanks a lot, Vince -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.