![]() ![]() Manage the Python version you use to run your code.In a prior article, Fall in Love with Your Environment Setup, I laid out the tools I have found most useful to accomplish the following 5 key development tasks: Image by Author Ensure your Vagrant setup is as seamless as the local environment setup you love Once the VM is created, you will see the poetry requirements installed (the last step in the VM provisioning).This is done very simply by running: vagrant up and will take about 10 minutes - NOTE: There are a few common errors that may occur - see the “Troubleshooting vagrant up errors” section below if you encounter an error.This will convert the terminal prompt to display in the “:jillvillany/python-dev-setup.gitĬreate the VM from the image specified in the Vagrantfile bash_prompt file from the repo to the relevant location in the VM. bashrc file to auto-activate the venv at the project’s root ![]() Add the function defined in the “auto_activate_.venv.txt” file to the.Part 4 (lines 28 -41): Terminal formatting Part 3 (lines 19–26): Install and activate Poetry Part 2 (lines 8–17): Install specified Python version Part 1 (lines 3–6): Install linux packages needed for Python install The install.sh may look a little overwhelming at first, but it can be broken down into 5 key parts: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |