import 'compile/python' name=setuptools version=40.0.0 define_option 'easy_install-symlink: Install the easy_install symlink (it may conflict with python2)' dlextract "https://github.com/pypa/$name/archive/v$version/$name-$version.tar.gz" \ '1af9832852b660403be4f40aa3527cea' _ cd "$name-$version" # Don't install the regular easy_install, as it conflicts with python 2 option !easy_install-symlink sed -i -e '/easy_install =/d' setup.py # Don't use pip to fetch dependencies sed -i -e '/pip/d' bootstrap.py python3 bootstrap.py compile_python 3 # vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab: