You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
618 B
23 lines
618 B
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:
|
|
|