23 lines
495 B
Markdown
23 lines
495 B
Markdown
|
|
|
|
how to make python portable
|
|
|
|
https://chat.mistral.ai/chat/ab946d87-22e6-47d4-a99c-e8522c077347
|
|
|
|
```
|
|
wget https://www.python.org/ftp/python/3.13.7/Python-3.13.7.tgz
|
|
tar -xzf Python-3.13.7.tgz
|
|
rm Python-3.13.7.tgz
|
|
cd Python-3.13.7
|
|
./configure --enable-optimizations --with-ensurepip=install --prefix=$(pwd)/portable_python
|
|
make -j$(nproc)
|
|
make install
|
|
cd ..
|
|
mv Python-3.13.7/portable_python portable_python
|
|
rm -rf Python-3.13.7
|
|
cd ..
|
|
tar -czvf caldav.tar.gz caldav/
|
|
```
|
|
|
|
|
|
tar -xzf caldav.tar.gz |