Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
tg359 opened this issue Apr 21, 2022 · 0 comments · Fixed by #85
Closed
Assignees
Labels
severity:medium Slows progress, but workaround is possible size:S Measured in minutes type:external-api-changes Imposed changes, including from dependency across other BHoM repos

Comments

@tg359
Copy link
Contributor

tg359 commented Apr 21, 2022

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):

@tg359 tg359 added severity:medium Slows progress, but workaround is possible size:S Measured in minutes type:external-api-changes Imposed changes, including from dependency across other BHoM repos labels Apr 21, 2022
@tg359 tg359 self-assigned this Apr 21, 2022
tg359 added a commit that referenced this issue May 5, 2022
@tg359 tg359 changed the title Python_Toolkit: Add 3.7.2 to list of versions Python_Toolkit: Add 3.7.2, enable formatting, register downstream environments in ipykernel May 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
severity:medium Slows progress, but workaround is possible size:S Measured in minutes type:external-api-changes Imposed changes, including from dependency across other BHoM repos
Projects
None yet
1 participant