title: What exactly should be set in PYTHONPATH?
body: <p>I'm going through and writing a setup doc for other developers at work for a python project and I've been reading up on the <code>PYTHONPATH</code> environment variable. I'm looking at my current development system and think I have a few things set wrong that is causing my IDE (IntelliJ) to behave incorrectly when looking up the python libraries.</p>
  <p>I've looked at the documentation <a href="https://docs.python.org/2.7/using/cmdline.html#envvar-PYTHONPATH" rel="noreferrer">here</a> and <a href="https://stackoverflow.com/questions/859594/cant-find-my-pythonpath/859672#859672">here</a> and I'm still unsure of what should actually be in the <code>PYTHONPATH</code> environment variable.</p>
  <p>I have <code>PYTHONHOME</code> pointed to `C:\Python27'.</p>
  <p>My current <code>PYTHONPATH</code> is set to <code>PYTHONHOME</code>. Should I also add the directories from <code>sys.path</code>?</p>
  <p>UPDATE:</p>
  <p>Based on the below information, <code>PYTHONPATH</code> does not need to be set unless there are non-standard libraries that you want python to be able to find by default. For instance, when I install <a href="https://www.wxpython.org" rel="noreferrer">wxPython</a> from the installer it will add its libraries to <code>PYTHONPATH</code>. I do set <code>PYTHONHOME</code> to the root of the python installation so that I can add it to my system <code>PATH</code> environment variable so that I can run python from any where.</p>