BHoM / Python_Toolkit

GNU Lesser General Public License v3.0
3 stars 2 forks source link

Ensure PythonEnvironments exists prior to installation of base environment #115

Closed tg359 closed 1 year ago

tg359 commented 1 year ago

Issues addressed by this PR

Added a check prior to installing the Base Python environment that creates a C:\ProgramData\BHoM\Extensions\PythonEnvironments directory if it doesn't already exist. This should be handled upon BHoM install, but in-case it's missed this is a failsafe.

Test files

Run BasePythonEnvironment on a machine without a C:\ProgramData\BHoM\Extensions\PythonEnvironments directory, and no error should occur.

Changelog

Additional comments

FraserGreenroyd commented 1 year ago

@BHoMBot this is a DevOps instruction. I am requesting neutral checks on: code-compliance, copyright-compliance, core, documentation-compliance, installer, null-handling, project-compliance, ready-to-merge, serialisation, versioning

bhombot-ci[bot] commented 1 year ago
@FraserGreenroyd I have provided neutral checks to the checks requested. These checks will need to be run properly to obtain full results.