BHoM/Python_Toolkit

Python_Toolkit: Add 3.7.2, enable formatting, register downstream environments in ipykernel

tg359 opened this issue · 0 comments

tg359 commented

Description:

A range of additional tweaks to better set-up the BHoM Python environments.

  • In order to allow Python 3.7.2 to be installed for a downstream toolkit to make use of this particular version of Python.
  • Add "black" to default packages to enable formatting of BHoM Python code across any toolkits
  • Register downstream environments with root environment ipykernel to enable access via Jupyter Notebooks
  • Ensure environment-specific code is accessible in notebooks by prepending the ./PythonCode directory to PATH in the base kernel upon creation.

Test file(s):