浏览代码

Adding fix for Hue Build process, Currently Hue Build process is broken due to Python2.6 pypi.python.org TLSv1.2 issue. Along with above changes on build infra side we have to add following changes.

        |# Adding local PyPi URL
        |echo "[easy_install]" >> ~/.pydistutils.cfg
        |echo "index_url=https://pypi.infra.cloudera.com/api/pypi/pypi-public/simple/" >> ~/.pydistutils.cfg
        |export PYPI_MIRROR=https://pypi.infra.cloudera.com/api/pypi/pypi-public/simple/

Removed ipdb, ipython as these versions are deprecated or unable to build.
Prakash Ranade 7 年之前
父节点
当前提交
28ca80b18f
共有 1 个文件被更改,包括 5 次插入5 次删除
  1. 5 5
      desktop/devtools.mk

+ 5 - 5
desktop/devtools.mk

@@ -19,21 +19,21 @@
 
 # May require download from PyPI or whereever
 DEVTOOLS += \
-	ipdb[0.1dev-r1716] \
-	ipython[0.10] \
-	nose[0.11.3] \
+	nose[1.0.0] \
 	coverage[3.7.1] \
 	nosetty[0.4] \
 	werkzeug[0.6] \
 	windmill[1.3] \
 	pylint[0.28.0]
 
+PYPI_MIRROR ?= https://pypi.python.org/
+
 # Install/download dev tools for SDK into the virtual environment
 .PHONY: $(DEVTOOLS)
 $(DEVTOOLS):
 	@echo "--- Installing development tool: $@"
-	$(ENV_EASY_INSTALL) -f http://archive.cloudera.com/desktop-sdk-python-packages/ -i https://pypi.infra.cloudera.com/api/pypi/pypi-public/simple/ \
-	   -H archive.cloudera.com,pypi.infra.cloudera.com,pypi.python.org $(SETUPTOOLS_OPTS) $(subst ],,$(subst [,==,$@))
+	$(ENV_EASY_INSTALL) -i $(PYPI_MIRROR) \
+	   -H *.cloudera.com,pypi.python.org $(SETUPTOOLS_OPTS) $(subst ],,$(subst [,==,$@))
 
 $(BLD_DIR):
 	@mkdir -p $@