-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathsetup.py
More file actions
30 lines (28 loc) · 919 Bytes
/
Copy pathsetup.py
File metadata and controls
30 lines (28 loc) · 919 Bytes
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
27
28
29
30
from setuptools import setup, find_packages
from setuptools.extension import Extension
from Cython.Build import cythonize
import numpy
extensions = [
Extension(
name='diamond.solvers.repeated_block_dot',
sources=['diamond/solvers/repeated_block_dot.pyx'],
include_dirs=[numpy.get_include()]
)
]
setup(
name='sf-diamond',
version='0.2.2',
author=['Aaron Bradley', 'Timothy Sweetser'],
url='http://github.com/stitchfix/diamond',
author_email=['abradley@stitchfix.com', 'tsweetser@stitchfix.com'],
packages=find_packages(),
install_requires=['numpy',
'scipy',
'future',
'pandas',
'cython'],
license='LICENSE.txt',
description='GLMMs with known variances in python with Newton-like solver',
long_description=open('README.rst').read(),
ext_modules=cythonize(extensions)
)