Re: [Twisted-Python] Could not create and run a Windows Service with Twisted 2.0.1 & Python 2.4.1
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Fixed in trunk. I recommend you delete ntsvc.cfg and your dist directory, then rerun setup.py twistedservice with svn trunk code. Jp was correct. C
It's not being imported by user code, it's being imported by t.service.app. Py2exe doesn't know that, so it loses it.
Luc, probably ntsvc should deal with this automatically. Let me think about it before you put it in the HOWTO.
C
Jp Calderone wrote: | On Fri, 8 Jul 2005 18:59:36 +0200, Luc Stepniewski | <luc.stepniewski@adelux.fr> wrote: | |> On Friday 08 July 2005 16:53, Cory Dodt wrote: |> |>> Luc, it's very common to get these near code that uses namedAny or |>> named* |>> from reflect. Using these calls guarantees that py2exe's module finding |>> algorithm won't know to bundle the named module. |>> |>> You just need an "includes" line in your setup for |>> twisted.internet.default. |> |> |> Wow, you're right! It works. It's strange I didn't need this |> "includes" with |> Twisted 1.3. Anyway. I'll add this to the HOWTO, as soon as I can. | | | twisted.internet.default was never really public anyway, and now it's | deprecated. The ideal solution would be to stop using it altogether. | What's it being imported for? | | Jp | | _______________________________________________ | Twisted-Python mailing list | Twisted-Python@twistedmatrix.com | http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFC0A+p3A5SrXAiHQcRAmo9AJ47RcWy5VZcAlBfcVEsz7bHOkbTNQCeO+nh 0n/Sl+TenS4gbyPSG8+G+Xw= =5hWe -----END PGP SIGNATURE-----
participants (1)
-
Cory Dodt