Skip to content

Conversation

@ellert
Copy link
Contributor

@ellert ellert commented Feb 28, 2017

@phsft-bot
Copy link

Can one of the admins verify this patch?

@peremato peremato self-assigned this Feb 28, 2017
@peremato
Copy link
Contributor

@phsft-bot build

else()
set(absruntimedir ${CMAKE_INSTALL_PREFIX}/${runtimedir})
endif()
install(CODE "execute_process(COMMAND python -m py_compile \$ENV{DESTDIR}${absruntimedir}/${pyfile})")
Copy link
Contributor

Choose a reason for hiding this comment

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

Not strictly related to the patch, but shouldn't this also be ${PYTHON_EXECUTABLE} as below?

Copy link
Contributor

Choose a reason for hiding this comment

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

Absolutely we should use ${PYTHON_EXECUTABLE}, specially for python3 :-)

@peremato
Copy link
Contributor

@phsft-bot build

@peremato
Copy link
Contributor

Merged. Thanks.

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.

4 participants