Skip to content

Conversation

@pmai
Copy link
Contributor

@pmai pmai commented Aug 10, 2018

This change builds the protobuf files inside the osi3 package path
for Python2 to ensure that relative imports work, while not breaking
the general cmake build setup. It also moves the protobuf generation
to the build command phase for tidiness.

This change builds the protobuf files inside the osi3 package path
for Python2 to ensure that relative imports work, while not breaking
the general cmake build setup.  It also moves the protobuf generation
to the build command phase for tidiness.
@pmai pmai added the Bug Problems in the build system, build scripts, etc or faults in the interface. label Aug 10, 2018
@pmai pmai added this to the v3.0.1 milestone Aug 10, 2018
@pmai pmai self-assigned this Aug 10, 2018
@pmai pmai requested a review from a user August 10, 2018 15:59
@pmai
Copy link
Contributor Author

pmai commented Aug 10, 2018

This should fix issue #243.

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good :)

@ghost ghost merged commit 75fd624 into master Aug 17, 2018
@ghost ghost deleted the feature/python3-build-fix branch August 17, 2018 08:33
@mshaheerm
Copy link

I am working with a module.py which is present in C:\Users\sham\newcarla\carla\PythonClient and have copied all the generated proto_to_python.py in C:\Users\sham\newcarla\carla\PythonClient\proto_generated but there is an import error. i tried running the setup.py in C:\Users\sham\Downloads\open-simulation-interface-master\open-simulation-interface-master and it created a folder osi3 which just has init.py in it. How can i use it as a package for my imports?

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Problems in the build system, build scripts, etc or faults in the interface.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants