freecad installs 3rd party python module

Ryan Schmidt ryandesign at macports.org
Sun Jul 13 13:54:30 PDT 2014


On Jul 13, 2014, at 12:29 PM, Mark Brethen wrote:

> On Jul 13, 2014, at 1:58 AM, Ryan Schmidt wrote:
> 
>> On Jul 12, 2014, at 10:44 PM, Mark Brethen wrote:
>> 
>>> freecad installs a 3rd party python module, pivy, in/opt/local/bin. Pivy is a python binding library for Coin3d, used by FreeCAD. Is this acceptable? It does not exist as a separate port.
>> 
>> Would any other software, other than freecad, ever want to use that python module?
>> - If so, try to make it a separate port (or subport) that exists in all possible python versions (e.g. py27-pivy, py26-pivy, etc.).
>> - If not, then it's probably fine to just have freecad install it for whatever version of python freecad is going to be using
> 
> Any program that uses qt4 and coin with a python interface would mostly likely use pivy -- though I'm unaware of others. 
> 
> Freecad recommends python 2.6 or 2.7, so I wrote the port specifically for python27. It has the option to use an existing pivy installation.

Oh, well if pivy is a standalone software package which freecad just happened to bundle into its source code, but it can use an external version, then you should definitely create a normal py-pivy port and have freecad use that.



More information about the macports-dev mailing list