-
Notifications
You must be signed in to change notification settings - Fork 91
/
setup.py
75 lines (68 loc) · 1.99 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
import os
from Cython.Distutils import build_ext
import numpy as np
from setuptools import Extension
from setuptools import find_packages
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), "README.md"),
encoding='utf-8') as readme:
long_description = readme.read()
genome_module = Extension(
"selene_sdk.sequences._sequence",
["selene_sdk/sequences/_sequence.pyx"],
include_dirs=[np.get_include()])
genomic_features_module = Extension(
"selene_sdk.targets._genomic_features",
["selene_sdk/targets/_genomic_features.pyx"],
include_dirs=[np.get_include()])
ext_modules = [genome_module, genomic_features_module]
cmdclass = {'build_ext': build_ext}
setup(name="selene-sdk",
version="0.6.0",
long_description=long_description,
long_description_content_type='text/markdown',
description=("framework for developing sequence-level "
"deep learning networks"),
packages=find_packages(),
url="https://github.com/FunctionLab/selene",
package_data={
"selene_sdk.interpret": [
"data/gencode_v28_hg38/*",
"data/gencode_v28_hg19/*"
],
"selene_sdk.sequences": [
"data/*"
]
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: BSD License",
"Topic :: Scientific/Engineering :: Bio-Informatics"
],
ext_modules=ext_modules,
cmdclass=cmdclass,
python_requires='>=3.9',
install_requires=[
"cython>=0.29.24",
'click',
"h5py",
"matplotlib>=2.2.3",
"numpy>=1.21.4",
"pandas",
"plotly",
"pyfaidx",
"pytabix",
"pyyaml>=5.1",
"ruamel.yaml",
"scikit-learn",
"scipy",
"seaborn",
"statsmodels",
"torch>=1.0.0, <=2.3.1",
],
entry_points={
'console_scripts': [
'selene_sdk = selene_sdk.cli:main',
],
},
)