← Back to team overview

fenics team mailing list archive

Re: pip install support

 

On 08/13/2012 05:36 PM, Anders Logg wrote:
> 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. 

Well, it adds some constraint to the release process ;)

> The best would be to integrate it into the release
> script(s) if possible.

That is true. But I think a project manager need to do the actual
upload, but that is not very different from how it is on launchpad, I guess.

Johan
> --
> Anders
> 



Follow ups

References