-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
51 lines (36 loc) · 1.54 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
from setuptools import setup, find_packages
from codecs import open
from os import path
from Cython.Build import cythonize
from distutils.core import setup, Extension
import numpy
here = path.abspath(path.dirname(__file__))
np_include = numpy.get_include()
include_dirs = [np_include, "fast_tcrdist/tcrdist/cython"]
extensions = [Extension('fast_tcrdist.tcrdist.cython.seq_dist', ['fast_tcrdist/tcrdist/cython/seq_dist.c']),
Extension("fast_tcrdist.tcrdist.cython.cnwalign", ["fast_tcrdist/tcrdist/cython/cnwalign.c"], include_dirs = include_dirs)]
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name='fast_tcrdist',
version='0.0.3',
description='Optimized TCRDist calculation for TCR repertoire data analysis',
long_description=long_description,
long_description_content_type="text/markdown",
url='https://github.com/villani-lab/fast_tcrdist',
author='Neal Smith',
author_email='nsmith19@mgh.harvard.edu',
license='MIT',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'Natural Language :: English'
],
install_requires=["pandas", "numpy", "distance", "cython", "hdbscan", "logomaker", "anndata", "scanpy"],
packages=find_packages(),
ext_modules = cythonize(extensions), include_dirs = include_dirs,
include_package_data = True
)