Hi all,

I am trying to compile a pylons application using py2exe, from my setup.py, looking like this right now:
from distutils.core import setup
import py2exe
import paste.script.serve

And file `service_module.py` looking like this:
   from paste.script.serve import ServeCommand

From within the Pylons application directory, running this standalone(`python service_module.py`) works fine. However, If I compile this I and try and run it I get:
    Traceback (most recent call last):
      File "main.py", line 1, in <module>
      File "paste\script\serve.pyc", line 18, in <module>
      File "paste\script\command.pyc", line 36, in <module>
      File "pkg_resources.pyc", line 311, in get_distribution
      File "pkg_resources.pyc", line 197, in get_provider
      File "pkg_resources.pyc", line 666, in require
      File "pkg_resources.pyc", line 565, in resolve
    pkg_resources.DistributionNotFound: PasteScript
Does anyone have any suggestions here.

Thanks in advance,