Python Lib for fai-do-scripts(1)

Justin Cattle j at ocado.com
Mon Dec 20 09:34:08 CET 2021


That's awesome work, I look forward to trying it out.


Cheers,
Just


On Fri, 17 Dec 2021 at 22:33, Maximilian Stein <m at steiny.biz> wrote:

> Hi all,
>
> Today I am very pleased to announce the publication of pyfai [1], a
> Python package providing Pythonic wrappers for the most important
> commands in FAI customization scripts such as fcopy(8). More high-level
> abstractions, e.g. to install systemd units, are planned and will follow
> within the next months. The source code is available on Github [2] and
> extensive documentation is provided on Read the Docs [3].
>
> There are no official Debian packages yet (but planned). Until they
> become available, I would recommend stdeb [4] (Debian package
> python3-stdeb) to build a .deb package: `py2dsc-deb fai-0.1.0.tar.gz`
>
> My current integration in FAI installation and softupdate is based on
> the Debian package that I simply let install by install_packages(8).
> During softupdate this is already enough to actually `import fai` in
> Python customization scripts. During installation, however, Python needs
> to load the package from the target system (unless pyfai is installed in
> the installer system itself, too). Therefore, I set
> `PYTHONPATH="$target/usr/lib/python3/dist-packages"` in
> `class/INSTALL.var`.
>
> I am looking forward to your feedback/ideas/pull requests!
>
> Best,
> Maximilian
>
>
> [1]: https://pypi.org/project/fai/
>
> [2]: https://github.com/st31ny/pyfai
>
> [3]: https://fai.readthedocs.io/
>
> [4]: https://pypi.org/project/stdeb/
>
>

-- 


Notice: 
This email is confidential and may contain copyright material of 
members of the Ocado Group. Opinions and views expressed in this message 
may not necessarily reflect the opinions and views of the members of the 
Ocado Group.

If you are not the intended recipient, please notify us 
immediately and delete all copies of this message. Please note that it is 
your responsibility to scan this message for viruses.

References to the 
"Ocado Group" are to Ocado Group plc (registered in England and Wales with 
number 7098618) and its subsidiary undertakings (as that expression is 
defined in the Companies Act 2006) from time to time. The registered office 
of Ocado Group plc is Buildings One & Two, Trident Place, Mosquito Way, 
Hatfield, Hertfordshire, AL10 9UL.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20211220/f9d41d4d/attachment.html>


More information about the linux-fai mailing list