fenics team mailing list archive
-
fenics team
-
Mailing list archive
-
Message #01796
Re: pip install support
On 08/13/2012 05:45 PM, Andy Ray Terrel wrote:
> pip install is nice and supported by PETSc even. Although I doubt it
> will be the PETSc FEniCS needs with all the bells and whistles.
Sounds interesting. I deliberately only thought about the pure Python
packages, but it might be possible to hook dolfin into the system too.
Johan
> -- Andy
>
> On Mon, Aug 13, 2012 at 9:52 AM, Johan Hake <hake.dev@xxxxxxxxx> wrote:
>> Hello!
>>
>> I would advocate to add releases of pure Python packages in FEniCS to
>> the PyPI Server. Packages can then be installed by:
>>
>> pip install {ffc,ufl,fiat,aso}
>>
>> PyPI also integrates well with distutils. One can for example include
>> dependencies in the setup(...) call in the setup.py file. For example
>> can Fiat's dependency on ScientificPython be indicated by adding:
>>
>> setup(...
>> requires = ['ScientificPython'])
>>
>> If FIAT is installed using pip install ScientificPython will also be
>> installed.
>>
>> I have not added any packages to the server myself but the procedure
>> looks pretty straightforward. It requires a PyPI account on
>> pypi.python.org though.
>>
>> Johan
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~fenics
>> Post to : fenics@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~fenics
>> More help : https://help.launchpad.net/ListHelp
References