Skip to content
This repository was archived by the owner on Aug 15, 2025. It is now read-only.

Repository files navigation

Python 2.7.18 port to Nintendo Switch

This repository contains a Python 2.7.18 port to Nintendo Switch.

Building

These steps are done on a Ubuntu 18.04 based image.
Clone the repository.

git clone https://github.com/uyjulian/switch-libpython2.git

Change directory to inside the repository.

cd switch-libpython2

Install prerequisites.

sudo bash setup.bash

Set up the docker environment.

sudo bash setup-docker.bash

Download and extract CPython 2.7.18.

bash extract.bash

Configure, build, and archive prefix.

sudo bash build-switch-docker.bash

Package the stdlib into a zip file.

bash package-stdlib.bash

The resulting files are:

  • python27.zip - The python stdlib
  • python27-switch.tar.gz - The built Python prefix

License

This repository is licensed under PSF license v2. For more information, see LICENSE file.

About

Python 2.7.18 for Nintendo Switch

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages