ray/lib/orchpy/setup.py

26 lines
739 B
Python
Raw Normal View History

2016-02-07 15:50:02 -08:00
from setuptools import setup, Extension, find_packages
from Cython.Build import cythonize
# because of relative paths, this must be run from inside orch/lib/orchpy/
setup(
name = "orchestra",
version = "0.1.dev0",
ext_modules = cythonize([
2016-02-10 12:12:19 -08:00
Extension("orchpy/worker",
sources = ["orchpy/worker.pyx"],
extra_link_args=["-Iorchpy -lorchlib"]),
Extension("orchpy/unison",
include_dirs = ["../../src/"],
sources = ["orchpy/unison.pyx"],
extra_link_args=["-Iorchpy -lorchlib"],
language = "c++")],
compiler_directives={'language_level': 2}), # switch to 3 for python 3
2016-02-07 15:50:02 -08:00
use_2to3=True,
2016-02-10 12:12:19 -08:00
packages=find_packages(),
package_data = {
'orchpy': ['liborchlib.so']
},
zip_safe=False
2016-02-07 15:50:02 -08:00
)