title: Setup PYTHONPATH in Teamcity
body: <p>I'm trying to setup my <code>PYTHONPATH</code> in TeamCity. When building, I have the following path that's being created:</p>
  
  <pre><code>~/teamcity/buildAgent/work/a_long_id/my_lib
  </code></pre>
  
  <p>My <code>PYTHONPATH</code> must point to something that's present in <code>my_lib</code>. The problem is that this <code>a_long_id</code> can/will/may change, so I would like to use predefined build parameters.</p>
  
  <p>Here is what I came up with at the moment :</p>
  
  <pre><code>env.PYTHONPATH        %teamcity.agent.work.dir%/%????%/what/I/wanna/import
  </code></pre>
  
  <p>As you may have guessed, I'm looking for what would replace the <code>%????%</code>.</p>