milis/talimatname/genel/python-setuptools/talimat

21 lines
634 B
Plaintext
Raw Normal View History

2017-04-13 09:55:34 +02:00
# Description: Python paketlerini kolayca indirin, oluşturun, yükleyin, yükseltin ve kaldırın
2016-02-24 01:27:23 +01:00
# URL: https://bitbucket.org/pypa/setuptools
2017-04-13 09:55:34 +02:00
# Packager: milisarge
2017-06-18 01:09:17 +02:00
# Depends on: python sqlite libffi
2016-02-24 01:27:23 +01:00
name=python-setuptools
2017-06-17 16:55:05 +02:00
version=36.0.1
release=1
2016-02-24 01:27:23 +01:00
2017-06-17 16:55:05 +02:00
source=(https://files.pythonhosted.org/packages/source/${name:8:1}/${name#*-}/${name#*-}-$version.zip)
2016-02-24 01:27:23 +01:00
build() {
2017-06-17 16:55:05 +02:00
cd ${name#*-}-$version
export SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES=0
python2 bootstrap.py
python2 setup.py build
python2 setup.py install --prefix=/usr --root=$PKG --optimize=1
unset SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES
rm $PKG/usr/bin/easy_install
2016-02-24 01:27:23 +01:00
}