Pillow/winbuild/get_pythons.py

16 lines
448 B
Python
Raw Normal View History

2015-06-16 23:29:41 +03:00
import os
from fetch import fetch
2019-06-13 18:54:57 +03:00
if __name__ == "__main__":
for version in ["2.7.15", "3.4.4"]:
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!
2019-06-13 18:54:57 +03:00
os.system("pip install virtualenv")