Files
ray/lib/python/setup.py
T
Philipp Moritz 986ed5c9e8 Plasma C extensions (#34)
* switch plasma from ctypes to python C API

* clang-format

* various fixes
2016-11-13 16:23:28 -08:00

36 lines
1.2 KiB
Python

from __future__ import print_function
import subprocess
from setuptools import setup, find_packages
import setuptools.command.install as _install
class install(_install.install):
def run(self):
subprocess.check_call(["../../build.sh"])
# Calling _install.install.run(self) does not fetch required packages and
# instead performs an old-style install. See command/install.py in
# setuptools. So, calling do_egg_install() manually here.
self.do_egg_install()
setup(name="ray",
version="0.0.1",
packages=find_packages(),
package_data={"common": ["thirdparty/redis-3.2.3/src/redis-server"],
"plasma": ["build/plasma_store",
"build/plasma_manager",
"lib/python/libplasma.so"],
"photon": ["build/photon_scheduler",
"libphoton.so"]},
cmdclass={"install": install},
install_requires=["numpy",
"funcsigs",
"colorama",
"psutil",
"redis",
"cloudpickle",
"numbuf==0.0.1"],
include_package_data=True,
zip_safe=False,
license="Apache 2.0")