2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-01-04 12:30:03 +01:00
|
|
|
#
|
|
|
|
# python-setuptools
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-01-04 12:30:03 +01:00
|
|
|
|
2017-06-15 10:03:19 +02:00
|
|
|
PYTHON_SETUPTOOLS_VERSION = v36.0.1
|
|
|
|
PYTHON_SETUPTOOLS_SITE = $(call github,pypa,setuptools,$(PYTHON_SETUPTOOLS_VERSION))
|
|
|
|
PYTHON_SETUPTOOLS_LICENSE = MIT
|
|
|
|
PYTHON_SETUPTOOLS_LICENSE_FILES = LICENSE
|
2013-12-11 21:26:52 +01:00
|
|
|
PYTHON_SETUPTOOLS_SETUP_TYPE = setuptools
|
2012-01-04 12:30:03 +01:00
|
|
|
|
2017-06-15 10:03:19 +02:00
|
|
|
# recent setuptools versions require bootstrap.py to be invoked
|
|
|
|
# before the standard setup process.
|
|
|
|
define PYTHON_SETUPTOOLS_RUN_BOOTSTRAP
|
2017-07-05 13:14:19 +02:00
|
|
|
cd $(@D) && $(HOST_DIR)/bin/python ./bootstrap.py
|
2017-06-15 10:03:19 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
PYTHON_SETUPTOOLS_PRE_CONFIGURE_HOOKS = PYTHON_SETUPTOOLS_RUN_BOOTSTRAP
|
|
|
|
HOST_PYTHON_SETUPTOOLS_PRE_CONFIGURE_HOOKS = PYTHON_SETUPTOOLS_RUN_BOOTSTRAP
|
|
|
|
|
2013-12-11 21:26:52 +01:00
|
|
|
$(eval $(python-package))
|
|
|
|
$(eval $(host-python-package))
|