python:development_workflow
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
python:development_workflow [2016/07/13 02:51] – [Virtual environments and IDEs] mithat | python:development_workflow [2016/07/13 03:33] – [Getting a list of packages in the virtual environment] mithat | ||
---|---|---|---|
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 virtual 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 as well, which may not be what you want. | 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 as well, which may not be what you want. |
python/development_workflow.txt · Last modified: 2017/05/07 15:09 by mithat