Comment #28 on issue 66 by jparise: cannot install using easy_install
http://code.google.com/p/protobuf/issues/detail?id=66
Timothee Peignier's patch is very helpful. It extended his work with the
attached patch to cover one more remaining issue.
The 'clean' step was always removing generated *_pb2.py files. My patch
changes that behavior to only remove a *_pb2.py file in the 'clean' step if
we can locate the original source .proto file from which to regenerate it.
The previous behavior was causing problems with source distributions
('sdist' packages). If a 'clean' operation was ever run over them, we'd
lose the generated _pb2.py files forever because we no longer have access
to the original protobuf distribution with it's ../src directory full
of .proto files.
The specific motivation for this change was to allow pip's 'bundle' command
to work with the protobuf Python package.
Attachments:
protobuf-clean.patch 1.4 KB
--
You received this message because you are subscribed to the Google Groups "Protocol
Buffers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/protobuf?hl=en.