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

Cleanup build_app.py #503

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

Tokarak
Copy link

@Tokarak Tokarak commented Aug 30, 2023

With the introduction of sys.base_prefix a while ago, some code has become redundant, doing exactly what sys.base_prefix is for. This pr should have no functionality changes, but makes the code (slightly) more readable.

Tokarak and others added 6 commits August 30, 2023 12:11
sys.base_prefix handles virtual environments
At this point I realise I must look elsewhere

Signed-off-by: Tokarak <63452145+Tokarak@users.noreply.github.com>
sys.executable returns a normalised python excecutable — it follows symlinks

Signed-off-by: Tokarak <63452145+Tokarak@users.noreply.github.com>
Where applicable. All instances of manually finding base_prefix have been removed.

Signed-off-by: Tokarak <63452145+Tokarak@users.noreply.github.com>
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.

None yet

1 participant