mirror of
https://github.com/wassname/ray.git
synced 2026-08-13 12:30:18 +08:00
Run flake8 in Travis and make code PEP8 compliant. (#387)
This commit is contained in:
committed by
Philipp Moritz
parent
083e7a28ad
commit
ba02fc0eb0
+5
-3
@@ -7,11 +7,13 @@ import setuptools.command.install as _install
|
||||
|
||||
import subprocess
|
||||
|
||||
|
||||
class install(_install.install):
|
||||
def run(self):
|
||||
subprocess.check_call(["make"])
|
||||
subprocess.check_call(["cp", "build/plasma_store", "plasma/plasma_store"])
|
||||
subprocess.check_call(["cp", "build/plasma_manager", "plasma/plasma_manager"])
|
||||
subprocess.check_call(["cp", "build/plasma_manager",
|
||||
"plasma/plasma_manager"])
|
||||
subprocess.check_call(["cmake", ".."], cwd="./build")
|
||||
subprocess.check_call(["make", "install"], cwd="./build")
|
||||
# Calling _install.install.run(self) does not fetch required packages and
|
||||
@@ -19,14 +21,14 @@ class install(_install.install):
|
||||
# setuptools. So, calling do_egg_install() manually here.
|
||||
self.do_egg_install()
|
||||
|
||||
|
||||
setup(name="Plasma",
|
||||
version="0.0.1",
|
||||
description="Plasma client for Python",
|
||||
packages=find_packages(),
|
||||
package_data={"plasma": ["plasma_store",
|
||||
"plasma_manager",
|
||||
"libplasma.so"],
|
||||
},
|
||||
"libplasma.so"]},
|
||||
cmdclass={"install": install},
|
||||
include_package_data=True,
|
||||
zip_safe=False)
|
||||
|
||||
Reference in New Issue
Block a user