On Wed, Mar 22, 2017 at 4:44 AM, <[email protected]> wrote:
> I have recently developed an app which includes grpc, which works fine in > Python. I am now trying to package this using cx_Freeze. > This is the first I've heard of cx_Freeze but I'll try to be helpful. I've fixed a number of issues with missing packages, but have now hit a > brick wall. > > The problem is with the import grpc statement in one of my modules. The > problem is related to the line > > from grpc._cython import cyygrpc as _cygrpc in grpc/__init__.py > <https://github.com/grpc/grpc/blob/48fda550acc5edd7785d5b58169d2e3868fbf42a/src/python/grpcio/grpc/__init__.py#L37> > gRPC Python isn't implemented purely in Python and this statement is the first place where a running application would load modules that we've implemented in <https://github.com/grpc/grpc/tree/48fda550acc5edd7785d5b58169d2e3868fbf42a/src/python/grpcio/grpc/_cython> Cython <http://cython.org>. It complains that the packaging package is required. I forced it to load > all of the packages under pkg_resources/_vendor but it still complains that > the packaging.requirements package is required even though its physically > present in the build file. > This sounds very strange; I don't think I have any idea of where this is coming from. Since I don't really know what this code is doing I am a bit lost. Can > anyone help? > How well do you generally know using cx_Freeze with Python libraries implemented in some combination of Python, Cython, and C? That intersection of topics might be one place to look <https://www.google.com/search?q=cx_freeze+cython>. How well have you gotten to know the gRPC Python codebase in the time that you've been working with it? Have you cloned the repository, run all the tests, built your own packages, and... anything else? My apologies that I don't have properly-informed guidance to offer, -Nathaniel -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/grpc-io. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/CAEOYnAQMLkWvMG8OQ7C3Exx87jASYyichuLH3qRoi5FLerGrpQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
smime.p7s
Description: S/MIME Cryptographic Signature
