Github user alope107 commented on a diff in the pull request:
https://github.com/apache/spark/pull/8318#discussion_r37570383
--- Diff: python/setup.py ---
@@ -0,0 +1,19 @@
+#!/usr/bin/env python
+
+from setuptools import setup
+
+exec(compile(open("pyspark/pyspark_version.py").read(),
+ "pyspark/pyspark_version.py", 'exec'))
+VERSION = __version__
+
+setup(name='pyspark',
+ version=VERSION,
+ description='Apache Spark Python API',
+ author='Spark Developers',
+ author_email='[email protected]',
+ url='https://github.com/apache/spark/tree/master/python',
+ packages=['pyspark', 'pyspark.mllib', 'pyspark.ml', 'pyspark.sql',
'pyspark.streaming'],
+ data_files=[('pyspark', ['pyspark/pyspark_version.py'])],
+ install_requires=['numpy>=1.7', 'py4j==0.8.2.1', 'pandas'],
+ license='http://www.apache.org/licenses/LICENSE-2.0',
+ )
--- End diff --
So if SPARK_HOME was set, it would use that spark installation, and default
to the packaged JAR otherwise? Depending on the size of the assembly JAR I be
in favor of this as it makes installation very easy for those who only want to
interact with Spark through pyspark, but the discussion on the mailing list
seemed to intentionally shy away from too large of a PyPI package. I'll bring
up your suggestion to see if there's wider support, and I encourage you to join
the discussion here:
http://apache-spark-developers-list.1001551.n3.nabble.com/PySpark-on-PyPi-td12626.html
---
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]