PyFunceble / miniconda-template

This template is based on https://github.com/funilrys/PyFunceble/issues/39 thanks to @mitchellkrogza and @funilrys
GNU Affero General Public License v3.0
0 stars 0 forks source link

Output folder stocked in working dir #3

Closed spirillen closed 4 years ago

spirillen commented 4 years ago

For some reason the output directory is not pushed to the ${outputDir}

See also https://github.com/funilrys/PyFunceble/issues/93

spirillen commented 4 years ago

The problem seems to be that the outdir location does not honor PYFUNCEBLE_CONFIG_DIR which should be the "top" working dir for the test enviroment

sources: https://pyfunceble.readthedocs.io/en/dev/components/output-files.html, https://pyfunceble.readthedocs.io/en/dev/components/environment-variables.html?highlight=PYFUNCEBLE_CONFIG_DIR

funilrys commented 4 years ago

@spirillen You are confusing config directory with output directory.

The config directory is where PyFunceble is expected to find or generate its configuration file(s).

As per https://github.com/funilrys/PyFunceble/issues/94 it is now (PyFunceble-dev at the time I write this) possible to define where you want to generate the output/ directory per PYFUNCEBLE_OUTPUT_LOCATION environment variable.

spirillen commented 4 years ago

I can see the mistake now...

I was reading the PYFUNCEBLE_OUTPUT_DIR not the PYFUNCEBLE_OUTPUT_LOCATION that's the reason to all of this.

Will fix this soonest possible

spirillen commented 4 years ago

Self note:

As miniconda has moved on then we need to replace the source command for activating ENV with conda, just as to deactivate.

See also cheetSheet https://docs.conda.io/projects/conda/en/latest/_downloads/843d9e0198f2a193a3484886fa28163c/conda-cheatsheet.pdf conda-cheatsheet.pdf