← Back to team overview

fenics team mailing list archive

pip install support

 

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


Follow ups