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

[WIP] cmake and Tools/setup.sh default to python3 #12111

Closed
wants to merge 1 commit into from

Conversation

dagar
Copy link
Member

@dagar dagar commented May 30, 2019

Python 2 is end of life in 7 months.

This PR updates cmake to find and use python3 first, but then falls back to python2. I've also updated the setup helper scripts to install the python dependencies only python3, and made a few other improvements to make it easier and safer to repeatedly rerun the script.

@dagar dagar force-pushed the pr-setup_python3 branch from bed59b2 to 53853b3 Compare May 30, 2019 00:35
@dagar
Copy link
Member Author

dagar commented May 30, 2019

There's a fun circular dependency here. Updating Tools/setup.sh separately, then PX4/containers, then back to this PR.

@dagar dagar changed the title cmake and Tools/setup.sh default to python3 [WIP] cmake and Tools/setup.sh default to python3 May 30, 2019
@dagar dagar force-pushed the pr-setup_python3 branch from 53853b3 to 278ded2 Compare May 30, 2019 00:47
@dagar dagar closed this May 30, 2019
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