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

Correct doc for with-python CMake option and remove Python 2 check. #2345

Merged

Conversation

heplesser
Copy link
Contributor

  • For some time, only ON and OFF have been valid values for -Dwith-python. This PR fixes the documentation on this point.
  • The PR also removes a check for -Dwith-python=2 which is not longer relevant.

@heplesser heplesser added S: Normal Handle this with default priority T: Maintenance Work to keep up the quality of the code and documentation. I: No breaking change Previously written code will work as before, no one should note anything changing (aside the fix) labels Mar 17, 2022
@heplesser heplesser added this to To do in Installation via automation Mar 17, 2022
Copy link
Contributor

@jessica-mitchell jessica-mitchell 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 from my end!

Installation automation moved this from To do to Review Mar 18, 2022
@stinebuu
Copy link
Contributor

Looks good! But could you also update the docstring in CMakeLists.txt?

# use Python to build PyNEST
set( with-python ON CACHE STRING "Build PyNEST [default=ON]. To set a specific Python, give the install path." )

@heplesser
Copy link
Contributor Author

Looks good! But could you also update the docstring in CMakeLists.txt?

# use Python to build PyNEST
set( with-python ON CACHE STRING "Build PyNEST [default=ON]. To set a specific Python, give the install path." )

Done.

@stinebuu stinebuu merged commit 0c07d16 into nest:master Mar 18, 2022
Installation automation moved this from Review to Done Mar 18, 2022
@heplesser heplesser deleted the fix-outdated-cmake-python-switch-and-doc branch April 20, 2022 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I: No breaking change Previously written code will work as before, no one should note anything changing (aside the fix) S: Normal Handle this with default priority T: Maintenance Work to keep up the quality of the code and documentation.
Projects
Installation
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants