-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathsetup.py
52 lines (48 loc) · 2.33 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
from pathlib import Path
from setuptools import setup, find_packages
from immuneML.environment.Constants import Constants
setup(
name="immuneML",
version=Constants.VERSION,
description="immuneML is a software platform for machine learning analysis of immune receptor repertoires.",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
author="immuneML Team",
author_email="[email protected]",
url="https://github.com/uio-bmi/immuneML",
install_requires=["numpy<=1.26.4", "pandas>=2.1.0", "PyYAML>=5.3", "scikit-learn>=0.23",
"matplotlib>=3.1", "editdistance", "regex", "tzlocal", "airr>=1,<1.4",
"pystache", "dill>=0.3", "plotly>=4", "matplotlib-venn>=0.11", "scipy<=1.12.0", "bionumpy==1.0.12",
"umap-learn", "olga>=1.2.4"],
extras_require={
'word2vec': ['gensim>=4'],
'fisher': ['fisher>=0.1.9', 'fishersapi'],
"TCRdist": ["tcrdist3>=0.1.6"],
"gen_models": ['sonnia', 'torch'],
"ligo": ['stitchr', 'IMGTgeneDL'],
"DL": ['torch', 'keras', 'tensorflow', 'logomaker', 'gensim'],
"KerasSequenceCNN": ["keras==2.11.0", "tensorflow==2.11.0"],
"all": ['tcrdist3>=0.1.6', 'sonnia', 'torch', 'stitchr', 'IMGTgeneDL', 'keras', 'tensorflow', 'fisher>=0.1.9', 'logomaker',
'fishersapi', 'gensim>=4']
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU Affero General Public License v3"
],
python_requires='>=3.7',
packages=find_packages(exclude=["test", "test.*"]),
package_data={
'immuneML': [str(Path('IO/dataset_import/conversion/*.csv')),
str(Path("presentation/html/templates/*.html")),
str(Path("presentation/html/templates/css/*.css")),
str(Path('encodings/atchley_kmer_encoding/*.csv'))] +
[str(Path("config/default_params/") / dir.name / "*.yaml") for dir in Path("./immuneML/config/default_params/").glob("*")],
},
entry_points={
'console_scripts': [
'immune-ml = immuneML.app.ImmuneMLApp:main',
'immune-ml-quickstart = immuneML.workflows.instructions.quickstart:main',
'ligo = immuneML.app.LigoApp:main'
]
},
)