Github user holdenk commented on a diff in the pull request:
https://github.com/apache/spark/pull/15659#discussion_r86674883
--- 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 --
So `make-distribution.sh` will copy the files into the distribution
directory. If you just want to test the pip install part `./build/sbt
package;cd python; python setup.py sdist; cd dist; pip install *.tar.gz` should
do the trick.
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]