Skip to content

Add support for Linux and macOS #8

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

Merged
merged 2 commits into from
Jun 3, 2021
Merged

Add support for Linux and macOS #8

merged 2 commits into from
Jun 3, 2021

Conversation

dean0x7d
Copy link
Member

This is an MVP implementation of Linux and macOS support. Everything is functional but there are two caveats that should certainly be resolved in future versions:

  • The standard library is not pre-compiled and zipped so it takes up more space than the Windows variant.
  • The environment is not as locked down as the Windows variant: pip is still accessible in the final package.

On Windows, we can simply download a pre-build binary embedded package, but on macOS and Linux, we need to build from source and lock down the environment ourselves. This means that the two points above require a bit more effort. We can tackle this later. For now, this implementation is certainly good enough to get going.

@dean0x7d dean0x7d requested review from sjlamerton and bkarpati May 28, 2021 12:23
@dean0x7d dean0x7d force-pushed the python-for-all branch 2 times, most recently from 1becc7e to e7ef994 Compare May 28, 2021 15:12
Copy link
Member

@bkarpati bkarpati left a comment

Choose a reason for hiding this comment

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

Typo in the second commit message
download a pre-build binary -> download a pre-built binary
Also, would it be possible to stick with the standard line length limit for the lines containing the caveats as well?

Otherwise I don't have much else to add. Great to have the cross-platform support in place.

@dean0x7d
Copy link
Member Author

dean0x7d commented May 31, 2021

Also, would it be possible to stick with the standard line length limit for the lines containing the caveats as well?

Of course! I copy/pasted from the changelog and forgot to apply the line limit. Fixed now.

Copy link
Member

@bkarpati bkarpati left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@sjlamerton sjlamerton 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 to me too, a great step towards cross-platform consistency!

This is an MVP implementation of Linux and macOS support. Everything is
functional but there are two caveats that should certainly be resolved
in future versions:
 * The standard library is not pre-compiled and zipped so it takes up
   more space than the Windows variant.
 * The environment is not as locked down as the Windows variant:
   `pip` is still accessible in the final package.

On Windows, we can simply download a pre-built binary embedded package,
but on macOS and Linux, we need to build from source and lock down the
environment ourselves. This means that the two points above require a
bit more effort. We can tackle this later. For now, this implementation
is certainly good enough to get going.
@dean0x7d dean0x7d merged commit 3f901f0 into master Jun 3, 2021
@dean0x7d dean0x7d deleted the python-for-all branch June 3, 2021 12:51
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