pycharm settings in VCS

Hey,

We are a large group of developers using pycharm.

There are some things that need to be setup for our project, like source folders and other things.

In order to avoid explaining how to do that for any new env, I wanted to share the pycharm settings in VCS as described here https://intellij-support.jetbrains.com/hc/en-us/articles/206544839-How-to-manage-projects-under-Version-Control-Systems (meaning adding the .idea directory to the repo).

This works fine (the source folders for example are stored in the project iml file), however there are other things stored there as well, like the project interpreter.

Since it's a Pyenv installation, each user's interpreter is in a different folder and this has 2 issues that maybe you can help me with:

1. Since each user's interpreter is in a different folder, I cannot share the interpreter path and it is necessary for each user to go to pycharm settings and configure the project interpreter.

2. Since the project interpreter is stored in the project iml file (at least the interpreter name), any time a user configures his interpreter, the iml file is modified. I don't want each user to commit this and push to repo.

 

Please help :-)

0

Please sign in to leave a comment.