Răsfoiți Sursa

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 ani în urmă
părinte
comite
28ca80b18f
1 a modificat fișierele cu 5 adăugiri și 5 ștergeri
  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 $@