This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
:: Portable Windows Python Setup | |
:: Downloads and installs a portable Python runtime as well as all requirements. | |
:: | |
:: Usage: setup.bat [INSTALL-LOCATION] [PYTHON-VERSION] | |
:: INSTALL-LOCATION - python installation folder, default: .\rt | |
:: PYTHON-VERSION - major Python version, supported: 35 - 312, default: 312 | |
:: | |
:: To install python 3.12, pip, and all dependencies from the current directory into the directory .\python: | |
:: > setup.bat python 312 |