python:development_workflow
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
python:development_workflow [2016/07/13 02:49] – [Python Project Workflow] mithat | python:development_workflow [2017/05/07 15:09] (current) – [Getting a list of packages in the virtual environment] mithat | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Python Project Workflow ====== | ====== Python Project Workflow ====== | ||
- | To manage | + | For managing |
===== Projects require virtual environments ===== | ===== Projects require virtual environments ===== | ||
Line 19: | Line 19: | ||
===== Getting a list of packages in the virtual environment ===== | ===== Getting a list of packages in the virtual environment ===== | ||
- | When you want to deploy your project on another machine, you will want to use the same versions of the packages | + | When you want to deploy your project on another machine, you will want the environment on the host to use the same versions of the packages |
- | you used while developing it (i.e., those in the virtual environment). | + | you used while developing it (i.e., those in your virtual environment). |
===== Virtual environments and IDEs ===== | ===== Virtual environments and IDEs ===== | ||
- | Virtual environments present an added layer of complexity when using IDEs. To run the project within the right environment and to get accurate auto completion and the like, the IDE needs to be aware of the virtual environment it should use for the project. Note that this might be a different environment than the one under which the IDE itself is preferred to run. | + | Virtual environments present an added layer of complexity when using IDEs. To have the project |
- | Each IDE is different, so generalized help is tricky. It might work to run the IDE from a shell that has its virtual environment set as desired, but this will run the IDE itself within that environment, | + | Each IDE is different, so generalized help is tricky. It might work to run the IDE from a shell that has its virtual environment set as desired, but this will run the IDE itself within that environment |
python/development_workflow.txt · Last modified: 2017/05/07 15:09 by mithat