-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
53 lines (48 loc) · 1.75 KB
/
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
from setuptools import setup, find_packages
from distutils.extension import Extension
from Cython.Build import cythonize
import numpy
#directive_defaults['linetrace'] = True
#directive_defaults['binding'] = True
extensions = [
Extension('uncurl.nolips', ['uncurl/nolips.pyx'],
extra_compile_args=['-O3', '-ffast-math']),
Extension('uncurl.sparse_utils', ['uncurl/sparse_utils.pyx'],
extra_compile_args=['-O3', '-ffast-math'])
]
parallel_extensions = [
Extension('uncurl.nolips_parallel', ['uncurl/nolips_parallel.pyx'],
extra_compile_args=['-O3', '-ffast-math', '-fopenmp'],
extra_link_args=['-fopenmp'])
]
long_description = ''
with open('README.rst') as f:
long_description = f.read()
setup(name='uncurl_seq',
version='0.2.16',
description='Tool for pre-processing single-cell RNASeq data',
long_description=long_description,
long_description_content_type='text/plain',
url='/~https://github.com/yjzhang/uncurl_python',
author='Yue Zhang',
author_email='yjzhang@cs.washington.edu',
license='MIT',
include_dirs=[numpy.get_include()],
ext_modules = cythonize(extensions + parallel_extensions),
packages=find_packages("."),
install_requires=[
'numpy',
'scipy',
'cython',
'scikit-learn',
],
test_suite='nose.collector',
tests_require=['nose', 'flaky'],
classifiers=[
'Development Status :: 3 - Alpha',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
],
zip_safe=False)