/
setup.py
27 lines (26 loc) · 952 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
from numpy.distutils.core import setup, Extension
from numpy import get_include
setup(name="sharedmem", version="0.2",
author="Yu Feng",
author_email="yfeng1@andrew.cmu.edu",
description="Easy routines for coding on sharedmem machines",
url="http://github.com/rainwoodman/sharedmem",
download_url="http://web.phys.cmu.edu/~yfeng1/gaepsi/sharedmem-0.2.tar.gz",
zip_safe=False,
package_dir = {'sharedmem': 'sharedmem'},
packages = [
'sharedmem', 'sharedmem.core', 'sharedmem.lib'
],
requires=['numpy'],
install_requires=['numpy'],
ext_modules = [
Extension('sharedmem.' + name,
[ 'sharedmem/' + name.replace('.', '/') + '.c',],
extra_compile_args=['-O3'],
libraries=[],
include_dirs=[get_include()],
depends = extra
) for name, extra in [
('lib._mergesort', []),
]
])