Files
CoreMP135_buildroot/package/python-setuptools/python-setuptools.mk
T

24 lines
831 B
Makefile
Raw Normal View History

2013-06-05 23:53:30 +00:00
################################################################################
2012-01-04 12:30:03 +01:00
#
# python-setuptools
#
2013-06-05 23:53:30 +00: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
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
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
$(eval $(python-package))
$(eval $(host-python-package))