Sharing Virtual Environment across machines (Python plugin)

When defining a Python project in IntelliJ IDEA using the Python plugin, one needs to specify the "Python SDK". When using virtual environments, it's a good practice to keep them project-specific, so that each project manages its own environment and set of libraries. With IntelliJ, however, the definition of a virtual environment is a machine-specific setting, while the association of a project with an environment is maintained in the project file.

What is the recommended way of sharing an python project in IntelliJ across machines and multiple users (e.g. via source control), while standardizing on the same virtual environment location (e.g. within the project structure)?

Note that I don't ask about the virtual environment contents (leaving that to other tools, e.g. Canopy or Anaconda), but merely its location relative to the project root.

See also https://devnet.jetbrains.com/thread/473519
1 comment
Comment actions Permalink
Have you seen http://stackoverflow.com/q/14440025/95735 – Share a PyCharm project across multiple operating systems (different interpreter paths) ?
0

Please sign in to leave a comment.