Repository navigation
v3.10.14+0cf0206
This is a v3.10.14+ build with all modules enabled.
git describe --tags
v3.10.13-44-gbaffe78-5-g0cf0206cf9
How to build:
Windows:
Clone the repo:
git clone --branch 3.10 --recursive https://github.com/Randy420Marsh/cpython.git Python-3.10.14+
cd Python-3.10.14+
PCbuild\build.bat -e -r -p x64
Build embeddable package:
Tools\msi\buildrelease.bat -x64 --skip-nuget --test testout
The built python installer will be in \builds\Python-3.10\PCbuild\amd64\en-us as a python-3.10.14-amd64.exe along with other .exe packages and the python-3.10.14-embed-amd64.zip
Linux:
Edit apt sources and uncomment deb-src lines:
sudo nano /etc/apt/sources.list
Install dependencies:
sudo apt-get build-dep python3 ; sudo apt-get install build-essential gdb lcov pkg-config libbz2-dev libffi-dev libgdbm-dev libgdbm-compat-dev liblzma-dev libncurses5-dev libreadline6-dev libsqlite3-dev libssl-dev lzma lzma-dev tk-dev uuid-dev zlib1g-dev libmpdec-dev libssl-dev tk-dev libgdbm-dev libc6-dev libbz2-dev
Clone the repo:
git clone --branch 3.10 --recursive https://github.com/Randy420Marsh/cpython.git Python-3.10.14+
Configure and build:
cd Python-3.10.14+
configure options::
./configure --prefix=/usr/local --enable-optimizations --with-lto
make -j$(nproc)
make altinstall
which python3.10
python3.10 --version
/usr/local/bin/python3.10
Python 3.10.14+
Hashes:
0bfdd89400dce2e862cf4620356dad4642a6deccd6bce21fc31d452eb2121190 *Python-3.10.14+.deb