How can we build and distribute python scripts in a windows environment : <p>My team is enjoying using python to solve problems for our business. We write many small independent scripty applications.</p>

<p>However, we have to have a central windows box that runs these along with legacy applications.</p>

<p>Our challenge is going through a build and deploy process.</p>

<p>We want to have Bamboo check the script out of git, install requirements and run tests, then if all is green, just deploy to our production box.</p>

<p>We'd like libraries to be isolated from script to script so we don't have dependency issues.</p>

<p>We've tried to get virtualenvs to be portable but that seems a no go.</p>

<p>Pex looked promising, but it doesn't work on windows.</p>

<p>Ideally you'd see a folder like so:</p>

<pre><code>AppOne
  /Script.py
  /Libs
    /bar.egg
    /foo.egg
AppTwo
  /Script2.py
  /Libs
    /fnord.egg
    /fleebly.py
</code></pre>

<p>Are we thinking about this wrong? What's the pythonic way to distribute scripts within an enterprise?</p>
