Quote:
Originally Posted by COKE_MAN
Right. That's where I am getting my x64 modules too. Great site. Problem is a lot of those require GTK 2.20 and the current FPDB is using an earlier version. Nothing irritates me more than when a member of my development team here jumps to a newer version of a library without telling us and breaks the rest of our compatibility. I don't want to be that guy on the project.
Plus, anything developed/compiled on the x64 will not run on the x32 when deployed. I guess we could just point out to the FPDB devs what lines were changed and they can implement those changes at their leisure. Shrug.
For now, I am thinking I may contain this in a x32 VM. My last tests were against this VM and it wasn't so bad. Plus it gives me one dedicated resource for poker and that makes managing it much easier.
I don't see why using a newer version of gtk would give you a problem. The only requirement I see is that Pygtk has to be version 2.0 or higher, which implies a gtk version of 2.0 or higher.
Code:
import pygtk
pygtk.require('2.0')
The version of gtk in the exe version doesn't matter to you if you are installing an environment for development. When I was making the exe version, I just used the most recent stable gtk, _or_ the same one I used in the previous build. This is arbitrary, as long as it works.
Numpy and Matplotlib are only used for graphing, so you don't really need them to do work on the hud. You will get a nagging message, but it should work ok.
You can get development questions answered faster if you come to the #fpdb channel on freenode.net.
EDIT:
numpy is also needed to calculate the variance in the ring player stats--but as long as you are just working with the HUD and doing autoimports, you are fine without numpy or matplotlib
BTW: I agree that setting up a dev env for python/gtk is painful. That's why there is an exe version for users.
Last edited by Eratosthenes; 12-05-2010 at 12:36 PM.
Reason: thought of something else, LDO