mirror of
https://github.com/wassname/ray.git
synced 2026-06-29 07:07:00 +08:00
8e044535e2
* Python API for constructing tasks * Fixes.
13 lines
505 B
Python
13 lines
505 B
Python
from setuptools import setup, find_packages, Extension
|
|
|
|
common_module = Extension("common",
|
|
sources=["object_id.c", "serialization.c", "task.c"],
|
|
include_dirs=["../../", "../../thirdparty"],
|
|
extra_objects=["../../build/libcommon.a"],
|
|
extra_compile_args=["--std=c99", "-Werror"])
|
|
|
|
setup(name="Common",
|
|
version="0.1",
|
|
description="Common library for Ray",
|
|
ext_modules=[common_module])
|