PatrickWeller / PanelPal

1 stars 0 forks source link

Create an environment file #9

Open madysonic opened 2 weeks ago

madysonic commented 2 weeks ago

Create an env.yml file to be used with Conda. Can call the requirements.txt file through the yml.

E.g.: name: test-env dependencies:

madysonic commented 2 weeks ago

From the Rubric:

An environment.yaml file that will set-up the environment and a requirements.txt file that can be used to install a minimum basic set of Python modules / libraries using pip

The environment.yaml file must also document any modules installed via conda such that these install when the environment is created

The commands required to build the environment and install modules must be provided in the documentation;

In addition: the environment.yml and requirements.txt must document the version numbers of key libraries and modules

The number of packages installed by conda are a bare minimum and ideally none, i.e., as many packages as possible must be installed by pip;

The requirements.txt file has been either replaced by a pyproject.toml or integrated into a pyproject.toml;

The software must build using the command “pip install .”

PatrickWeller commented 1 week ago

We need to head towards this being able to be ran in Docker, but this can be saved for a later sprint