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

Fixes building in venv #462

Merged
merged 1 commit into from
May 2, 2020
Merged

Fixes building in venv #462

merged 1 commit into from
May 2, 2020

Conversation

AndreMiras
Copy link
Member

@AndreMiras AndreMiras commented May 1, 2020

Borrowed from p4a:
kivy/python-for-android#2159
Also refs upstream issue:
https://bugs.python.org/issue40261
Note that the fix used upstream cannot really be used directly here because the actual system Python is impacted.
Adds venv build to CI to check for regressions.

@AndreMiras AndreMiras changed the title WIP: Fixes building in venv Fixes building in venv May 1, 2020
Borrowed from p4a:
kivy/python-for-android#2159
Also refs upstream issue:
https://bugs.python.org/issue40261
Note that the fix used upstream cannot really be used directly here
because the actual system Python is impacted.
Adds venv build to CI to check for regressions.
@AndreMiras AndreMiras requested a review from Zen-CODE May 1, 2020 17:58
@misl6
Copy link
Member

misl6 commented May 1, 2020

LGTM.
Built and tested via the touch tracer example on a arm64 device.

@Zen-CODE
Copy link
Member

Zen-CODE commented May 2, 2020

Oh wow! Am looking very forward to checking thus one later. @misl6 Thanks for the test

arch = self.filtered_archs[0]
build_subdir = self.get_build_subdir(arch.arch)
os.makedirs(build_subdir, exist_ok=True)
with cd(build_subdir):
Copy link
Member

Choose a reason for hiding this comment

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

Nice approach

Copy link
Member

@Zen-CODE Zen-CODE left a comment

Choose a reason for hiding this comment

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

Lovely :-)

@AndreMiras AndreMiras merged commit 513efbb into kivy:master May 2, 2020
@AndreMiras AndreMiras deleted the feature/venv_build branch May 2, 2020 20:15
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.

3 participants