-
CPython fork: https://github.com/oleksis/cpython
-
Clone and setup
git clone https://github.com/oleksis/cpython.git
cd cpython
# git remote add upstream https://github.com/python/cpython
# git config --local branch.main.remote upstream
# git remote set-url --push upstream [email protected]:<your-username>/cpython.git
code-insiders .
- Update the frozen module
Lib\__hello__.py
def main():
print("ππ½ π!")
- Compile
PCbuild\build.bat -p x64
-
- Test Hello World!
C:\Users\oleksis\PYTHON\cpython\PCbuild\amd64\python.exe -m __hello__
ππ½ π!
- Please note that youβll need Visual Studio installed on your machine to compile Python from source.