Skip to content

Update sip_helper to use python header dirs#12

Merged
dirk-thomas merged 2 commits intoros-visualization:groovy-develfrom
NikolausDemmel:patch-1
Jul 2, 2014
Merged

Update sip_helper to use python header dirs#12
dirk-thomas merged 2 commits intoros-visualization:groovy-develfrom
NikolausDemmel:patch-1

Conversation

@NikolausDemmel
Copy link
Copy Markdown
Contributor

This fixes ros-visualization/qt_gui_core#46 and ros-visualization/rviz#788; needed at least on OS X, likely some other platforms as well.

This fixes ros-visualization/qt_gui_core#46 and ros-visualization/rviz#788; needed at least on OS X, likely some other platforms as well.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can you please add the folllowing line before this:

set(Python_ADDITIONAL_VERSIONS "${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}")

It ensures that find_package() is able to find the specified Python version - even if the version number is unknown in the PythonLibs CMake config file.

@NikolausDemmel
Copy link
Copy Markdown
Contributor Author

Addressed your comment and also added the specific version for PythonInterp.

@dirk-thomas
Copy link
Copy Markdown
Contributor

Great, thanks for the patch.

dirk-thomas added a commit that referenced this pull request Jul 2, 2014
Update sip_helper to use python header dirs
@dirk-thomas dirk-thomas merged commit dfce230 into ros-visualization:groovy-devel Jul 2, 2014
@NikolausDemmel NikolausDemmel deleted the patch-1 branch July 2, 2014 17:31
@NikolausDemmel
Copy link
Copy Markdown
Contributor Author

I see you released this for indigo. Can we get it into hydro as well? Or is this on the agenda already?

@dirk-thomas
Copy link
Copy Markdown
Contributor

When several days have past after an Indigo release of a repo I will consider all patches for backport to Hydro. The idea is that if any regressions appear on Indigo it doesn't effect Hydro immediately.

This one can definitely be backported.

Update: it has been released into Hydro in ros/rosdistro@240e1aa

severin-lemaignan referenced this pull request in severin-lemaignan/robotpkg Aug 18, 2014
Changes since 0.2.11:

0.2.14 (2014-07-10)
-------------------
* add Python_ADDITIONAL_VERSIONS and ask for specific version of PythonInterp
* fix finding specific version of PythonLibs with CMake 3 (`#11
<https://github.com/ros-visualization/python_qt_binding/issues/11>`_)
* fix sip_helper to use python header dirs on OS X (`#12
<https://github.com/ros-visualization/python_qt_binding/issues/12>`_)

0.2.13 (2014-05-07)
-------------------
* fix sip arguments when path contains spaces

0.2.12 (2014-01-08)
-------------------
* python 3 compatibility
* fix sip bindings when paths contain spaces (`#9
<https://github.com/ros-visualization/python_qt_binding/issues/9>`_)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants