Skip to content

allyourcodebase/cpython-fork

 
 

Repository files navigation

Deprecrated

This repo has been deprecated in favor of https://github.com/allyourcodebase/cpython

CPython Zig Package

This is a fork of CPython, packaged for Zig.

Unnecessary files have been deleted, and the build system has been replaced with build.zig. There are no system dependencies; the only thing required to build this package is Zig.

This builds a static executable, which can be then executed like this:

PYTHONPATH=Lib zig-out/bin/cpython

Project Status

My personal use case is to run the latest ytdlp releases. This package is capable of doing that, however, there may be missing features beyond what is required for this use case, such as missing C modules.

I have tested on x86_64-linux-gnu and x86_64-linux-musl but not any other targets yet. Probably, other targets will need some work before they are additionally supported.

Contributions to broaden the support status are welcome.

About

[DEPRECATED] contains the old "fork" build approach for cpython. New project is at https://github.com/allyourcodebase/cpython

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 52.4%
  • C 46.8%
  • C++ 0.4%
  • HTML 0.3%
  • Assembly 0.1%
  • Shell 0.0%