title: Include python module (dependencies) installation in your python script
body: <p>Is there a way to include/invoke python module(s) (dependencies) installation first, before running the actual/main script?</p>
  
  <p>For example, in my main.py:</p>
  
  <pre><code>import os, sys
  import MultipartPostHandler
  
  def main():
      # do stuff here
  </code></pre>
  
  <p>But MultipartPostHandler is not yet installed, so what I want is to have it installed first before
  actually running main.py... but in an automated manner. When I say automatically, I mean I will just invoke the script one time to start the dependency installation, then to be followed by actual functionalities of the main script.
  (somehow, a little bit similar with maven. But I just need the installation part)</p>
  
  <p>I already know the basics of setuptools. The problem is I may have to call the installation (setup.py) and the main script (main.py) separately. </p>
  
  <p>Any ideas are greatly appreciated. Thanks in advance!</p>