problem with pants building

2015-06-18 Thread peixin li
Hi, We use pants to build python project to executable python file (pex). But we cannot run pex file until we add all necessary library paths to PYTHONPATH and use pip to install necessary packages for $SPARK_HOME/python/lib/pyspark.zip specially. Since we have already add the unzipped pyspark

problem with pants building

2015-06-18 Thread peixin li
Hi, We use pants to build python project to executable python file (pex). But we cannot run pex file until we add all necessary library paths to PYTHONPATH and use pip to install necessary packages for $SPARK_HOME/python/lib/pyspark.zip specially. Since we have already add the unzipped pyspark