make-rules/setup.py.mk
changeset 146 8e22ba234817
parent 99 c15c9099bb44
child 181 87e11e685b1f
equal deleted inserted replaced
145:1e2390f5555e 146:8e22ba234817
    46 		$(PYTHON.$(BITS)) ./setup.py build \
    46 		$(PYTHON.$(BITS)) ./setup.py build \
    47 			--build-temp $(@D:$(BUILD_DIR)/%=%))
    47 			--build-temp $(@D:$(BUILD_DIR)/%=%))
    48 	$(COMPONENT_POST_BUILD_ACTION)
    48 	$(COMPONENT_POST_BUILD_ACTION)
    49 	$(TOUCH) [email protected]
    49 	$(TOUCH) [email protected]
    50 
    50 
    51 # The default is site-packages, but that directory belongs to the end-user.
       
    52 # Modules which are shipped by the OS but not with the core Python distribution
       
    53 # belong in vendor-packages.
       
    54 PYTHON_LIB= /usr/lib/python$(PYTHON_VERSION)/vendor-packages
       
    55 
    51 
    56 COMPONENT_INSTALL_ARGS +=	--root $(PROTO_DIR) 
    52 COMPONENT_INSTALL_ARGS +=	--root $(PROTO_DIR) 
    57 COMPONENT_INSTALL_ARGS +=	--install-lib=$(PYTHON_LIB)
    53 COMPONENT_INSTALL_ARGS +=	--install-lib=$(PYTHON_LIB)
    58 
    54 
    59 # install the built source into a prototype area
    55 # install the built source into a prototype area