mirror of
https://github.com/wassname/ray.git
synced 2026-08-15 12:45:23 +08:00
getting ready for some benchmarks
This commit is contained in:
+14
-5
@@ -7,10 +7,19 @@ setup(
|
||||
name = "orchestra",
|
||||
version = "0.1.dev0",
|
||||
ext_modules = cythonize([
|
||||
Extension("orchpy/context",
|
||||
sources = ["orchpy/context.pyx"], libraries=["orchlib"],
|
||||
library_dirs=['../orchlib/'])],
|
||||
compiler_directives={'language_level': 3}),
|
||||
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
|
||||
use_2to3=True,
|
||||
packages=find_packages()
|
||||
packages=find_packages(),
|
||||
package_data = {
|
||||
'orchpy': ['liborchlib.so']
|
||||
},
|
||||
zip_safe=False
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user