-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
35 lines (32 loc) · 1.09 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
from setuptools import setup, Extension, find_packages
import numpy as np
from Cython.Build import cythonize
import os
USE_AVX = 'USE_AVX'
compile_args = ['-std=c99', '-mfpmath=sse']
if USE_AVX in os.environ:
compile_args = compile_args + ['-mavx2', '-DAVX2=1', '-DUSEAVX_FLOAT']
setup(
name="bmf_tool",
version="1.0.0",
description="Bipartite-Motif-Finder to find co-occuring over-represented patterns in RNA sequences",
license="GPLv3",
author="Salma Sohrabi-Jahromi",
author_email="[email protected]",
packages=find_packages(),
install_requires=['numpy', 'cython', 'scipy', 'pandas', 'biopython', 'sklearn','matplotlib', 'seaborn'],
python_requires='>3.6',
ext_modules=cythonize([
Extension('bmf_tool.utils.dp_z',
sources=['bmf_tool/utils/dp_z.pyx'],
extra_compile_args=compile_args,
include_dirs=[np.get_include()]
)
]),
entry_points={
'console_scripts': [
'bmf=bmf_tool.bipartite_finder:main',
'bmf_logo=bmf_tool.utils.plot_logo:main'
]
}
)