fenics team mailing list archive
-
fenics team
-
Mailing list archive
-
Message #01794
Re: pip install support
On Mon, Aug 13, 2012 at 04:52:34PM +0200, Johan Hake 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.
Yes why not. The best would be to integrate it into the release
script(s) if possible.
--
Anders
Follow ups
References