bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] macport's portfile of the current gnubg


From: Michael Petch
Subject: Re: [Bug-gnubg] macport's portfile of the current gnubg
Date: Sat, 05 Jul 2014 12:41:59 -0600
User-agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0


On 2014-07-05 12:01 PM, Daisuke Takahashi wrote:
> If so, the runtime dependency on those python packages (py-mysql or some 
> other ports) seems to be too much; 

Our project doesn't require local database access as it utilizes
sockets. In most environments there is a common set of development
libraries that don't require an entire MySQL or Postgres installation.
If Macports requires a complete installation of Postgres or MySQL server
to be installed then I call that a deficiency in how the ports were
created. In theory you'd only need development files.

If Macports truly requires non-development overhead for Postgres and
Mysql then you can provide a warning as you state. Alternatively users
should be able to install them via easy_install which I believe Macports
Python supports as well as OS/X default Python. You just have to be
careful in that you need to run the proper easy_install if someone uses
a mix of default and Macports Python environments.

It is rather unfortunate that Macports doesn't use py-pymysql (maybe a
license issue, I haven't looked). Py-pymysql an entire implementation of
the DB interface written completely in Python that requires no other
package dependencies besides a base install of Python.


-- 
Michael Petch
GNU Backgammon Maintainer / Developer
OpenPGP FingerPrint=D81C 6A0D 987E 7DA5 3219 6715 466A 2ACE 5CAE 3304



reply via email to

[Prev in Thread] Current Thread [Next in Thread]