2014-03-25 09:09:53 +04:00
|
|
|
from fetch import fetch
|
2015-06-16 23:29:41 +03:00
|
|
|
import os
|
2014-03-25 09:09:53 +04:00
|
|
|
|
2015-06-20 06:43:14 +03:00
|
|
|
if __name__ == '__main__':
|
2015-06-19 06:23:23 +03:00
|
|
|
for version in ['2.6.5', '2.7.6', '3.2.5', '3.3.5', '3.4.3']:
|
2014-03-25 09:09:53 +04:00
|
|
|
for platform in ['', '.amd64']:
|
2015-06-20 06:43:14 +03:00
|
|
|
for extension in ['', '.asc']:
|
2015-06-26 10:39:13 +03:00
|
|
|
fetch('https://www.python.org/ftp/python/%s/python-%s%s.msi%s'
|
|
|
|
% (version, version, platform, extension))
|
2014-03-25 09:09:53 +04:00
|
|
|
|
|
|
|
# find pip, if it's not in the path!
|
|
|
|
os.system('pip install virtualenv')
|