Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem with 'pyext/cpp_message.py' #41

Closed
littmus opened this issue Oct 2, 2014 · 1 comment
Closed

problem with 'pyext/cpp_message.py' #41

littmus opened this issue Oct 2, 2014 · 1 comment

Comments

@littmus
Copy link

littmus commented Oct 2, 2014

When I install protobuf python lib with README's instruction, 'pyext/cpp_message.py' never included into egg.
I just did

python setup.py build --cpp_implementation
python setup.py install --cpp_implementation

By several tries, I manually put put file like this in setup.py

py_modules = [
          'google.protobuf.internal.api_implementation',
          'google.protobuf.internal.containers',
          'google.protobuf.internal.cpp_message',
          'google.protobuf.internal.decoder',
          'google.protobuf.internal.encoder',
          'google.protobuf.internal.enum_type_wrapper',
          'google.protobuf.internal.message_listener',
          'google.protobuf.internal.python_message',
          'google.protobuf.internal.type_checkers',
          'google.protobuf.internal.wire_format',

          'google.protobuf.pyext.cpp_message',

          'google.protobuf.descriptor',
          'google.protobuf.descriptor_pb2',
          'google.protobuf.compiler.plugin_pb2',
          'google.protobuf.message',
          'google.protobuf.descriptor_database',
          'google.protobuf.descriptor_pool',
          'google.protobuf.message_factory',
          'google.protobuf.reflection',
          'google.protobuf.service',
          'google.protobuf.service_reflection',
          'google.protobuf.symbol_database',
          'google.protobuf.text_encoding',
          'google.protobuf.text_format'],

and now it works well with using cpp option.

Is there any special install options that I didn't know or any instructions I forgot?

Thanks.

@xfxyjwf xfxyjwf added this to the Release 2.6.1 milestone Oct 2, 2014
@xfxyjwf
Copy link
Contributor

xfxyjwf commented Oct 2, 2014

duplicate of issue #34

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants