2016-02-22 17:35:03 -08:00
|
|
|
import sys
|
|
|
|
|
2016-02-07 15:50:02 -08:00
|
|
|
from setuptools import setup, Extension, find_packages
|
2016-03-10 12:35:31 -08:00
|
|
|
import setuptools
|
2016-02-07 15:50:02 -08:00
|
|
|
from Cython.Build import cythonize
|
|
|
|
|
|
|
|
# because of relative paths, this must be run from inside orch/lib/orchpy/
|
|
|
|
|
2016-02-22 17:35:03 -08:00
|
|
|
MACOSX = (sys.platform in ['darwin'])
|
|
|
|
|
2016-02-07 15:50:02 -08:00
|
|
|
setup(
|
|
|
|
name = "orchestra",
|
|
|
|
version = "0.1.dev0",
|
|
|
|
use_2to3=True,
|
2016-02-10 12:12:19 -08:00
|
|
|
packages=find_packages(),
|
|
|
|
package_data = {
|
2016-03-10 12:35:31 -08:00
|
|
|
'orchpy': ['liborchpylib.dylib' if MACOSX else 'liborchpylib.so',
|
2016-03-02 15:23:11 -08:00
|
|
|
'scheduler',
|
2016-02-22 17:35:03 -08:00
|
|
|
'objstore']
|
2016-02-10 12:12:19 -08:00
|
|
|
},
|
|
|
|
zip_safe=False
|
2016-02-07 15:50:02 -08:00
|
|
|
)
|