Skip to content

Instantly share code, notes, and snippets.

View antrikshmisri's full-sized avatar

Antriksh Misri antrikshmisri

View GitHub Profile
@antrikshmisri
antrikshmisri / GSoC2021_Final_Submission.md
Last active August 19, 2022 04:35
Final code submission for GSoC2021.
gsoc fury

Google Summer of Code 2021 Final Work Product

  • Name: Antriksh Misri
  • Organisation: Python Software Foundation
@antrikshmisri
antrikshmisri / python-build-publish.md
Last active September 19, 2022 10:59
How to build a python script for multiple OS and host them?

How to build a python script for multiple OS and host them?

We'll see how to build a python script for multiple operating systems and get a download URL for all the executables. All of this will be done automatically without any manual effort.

The Problem

A common problem when trying to distribute a python script is that there is no simple and robust solution to do so. Often, a developer can only ship one executable specific to his/her current operating system, even then there is a problem with hosting that script, the developer either has to do that manually on some hosting platform or he/she has to turn to a more complex solution. This doesn’t account for URL change when the same script has been modified and needs to be re-uploaded. So, how do we solve this problem more efficiently?

GitHub Actions to the rescue