title: Using PythonService.exe to host python service while using virtualenv
body: <p>I've got a Windows 7 environment where I need to develop a Python Windows Service using Python 3.4. I'm using pywin32's win32service module to setup the service and most of the hooks seem to be working ok.</p>
  
  <p>The problem is when I attempt to run the service from source code (using <code>python service.py install</code> followed by <code>python service.py start</code>). This uses PythonService.exe to host service.py - but I'm using a venv virtual environment and the script can't find it's modules (error message discovered with <code>python service.py debug</code>).</p>
  
  <p>Pywin32 is installed in the virtualenv and in looking at the source code of PythonService.exe, it dynamically links in Python34.dll, imports my service.py and invokes it.</p>
  
  <p>How can I get PythonService.exe to use my virtualenv when running my service.py?</p>