mirror of
https://github.com/wassname/ray.git
synced 2026-06-29 03:04:28 +08:00
90a6a99b03
* Update c extensions and python tests. * Updates. * Documentation fix. * Move c extensions into common_extension.c
13 lines
483 B
Python
13 lines
483 B
Python
from setuptools import setup, find_packages, Extension
|
|
|
|
common_module = Extension("common",
|
|
sources=["common_extension.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])
|