Table of Contents

NervProj: support for custom python env in scripts

In addition to the support for “dedicated” python environment for a given sub project I described in this previous article I'm now realizing there is another feature that could be of great help to me: the possibility to generate any kind of python environment in a given folder using a list of required packages.

My idea on this point is that I could then easily setup a “testing environment” with all the packages I want in python + the jupyter notebook package, and then running a simple script, I could instantly start coding test snippets in a jupyter book using that custom environment without interfering with any other project, which I think would be super cool! So let's get started on this 😎.

PyEnvManager component implementation

Custom environment config entries

Updating the Runner component