lorserker / ben

a game engine for bridge
GNU General Public License v3.0
43 stars 31 forks source link

Question about sys.platform in PIMC.py #127

Closed ThePokerDude closed 8 months ago

ThePokerDude commented 8 months ago

now:

if sys.platform == 'win32': BGADLL_LIB = 'BGADLL' elif sys.platform == 'darwin': BGADLL_LIB = 'N/A' else: BGADLL_LIB = 'N/A'

could be replaced by:

if sys.platform == 'win32': BGADLL_LIB = 'BGADLL' else: BGADLL_LIB = 'N/A'

Do you plan to implement something for darwin or specifically state that for darwin BGADLL_LIB = 'N/A' ?

ThorvaldAagaard commented 8 months ago

It is a copy from DDS, where we support Darwin. I don't think we will support PIMC on Darwin, but I left it as you never can know :-)