Pillow/winbuild/get_pythons.py

12 lines
422 B
Python

from fetch import fetch
if __name__=='__main__':
for version in ['2.6.5', '2.7.6', '3.2.5', '3.3.5', '3.4.0']:
for platform in ['', '.amd64']:
for extension in ['','.asc']:
fetch('https://www.python.org/ftp/python/%s/python-%s%s.msi%s' %(
version, version, platform, extension))
# find pip, if it's not in the path!
os.system('pip install virtualenv')