Environments and requirements

I’ve been meaning to get into the nbdev ecosystem for awhile, but I’ve never been sure what the approach to take is on virtual environments and requirements…I’ve generally try and have a workflow to keep a good requirement list up to date, but so far I haven’t seen them mentioned in the tutorial at all, or anything that automates that in nbdev, that surprises me!

Am I missing something? Is there some best-practice people have figured out?

2 Likes

Requirements are added to the settings.ini file in nbdev. You’re welcome to use a virtual environment, but it’s not required for using nbdev. (I don’t use them personally.)

4 Likes

Your ability to challenge all my developers’ core tenets of how python development “should” be done never ceases to astound :rofl: thanks for the help (and all the amazing work on fastai)!

4 Likes