Github user nchammas commented on a diff in the pull request:

    https://github.com/apache/spark/pull/15659#discussion_r86668198
  
    --- Diff: docs/building-spark.md ---
    @@ -259,6 +259,14 @@ or
     Java 8 tests are automatically enabled when a Java 8 JDK is detected.
     If you have JDK 8 installed but it is not the system default, you can set 
JAVA_HOME to point to JDK 8 before running the tests.
     
    +## PySpark pip installable
    +
    +If you are building Spark for use in a Python environment and you wish to 
pip install it, you will first need to build the Spark JARs as described above. 
Then you can construct an sdist package suitable for setup.py and pip 
installable package.
    +
    +    cd python; python setup.py sdist
    --- End diff --
    
    Just to confirm, if I run this:
    
    ```
    ./dev/make-distribution.sh --pip
    ```
    
    It should take care of both building the right JARs _and_ building the 
Python package.
    
    Then I just run:
    
    ```
    pip install -e ./python/
    ```
    
    to install Spark into my Python environment.
    
    Is that all correct?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to