-
Notifications
You must be signed in to change notification settings - Fork 29
/
setup.py
53 lines (47 loc) · 2.2 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 pathlib import Path
from setuptools import setup, find_packages
from immuneML.environment.Constants import Constants
def import_requirements(filename) -> list:
with open(filename, 'r') as file:
requirements = file.read().split("\n")
return requirements
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="milenpa@student.matnat.uio.no",
url="https://github.com/uio-bmi/immuneML",
install_requires=["numpy", "pandas>=1,<2.0", "PyYAML>=5.3", "scikit-learn>=0.23",
"gensim>=4", "matplotlib>=3.1", "editdistance", "regex", "tzlocal", "airr>=1,<1.4",
"fishersapi", "pystache", "torch>=1.5.1", "dill>=0.3", "plotly>=4", "logomaker>=0.8",
"matplotlib-venn>=0.11", "scipy", "bionumpy>=0.2.31", "umap-learn", "fisher", "olga"],
extras_require={
"TCRdist": ["tcrdist3>=0.1.6"],
"gen_models": ['sonnia', 'torch'],
"ligo": ['stitchr', 'IMGTgeneDL'],
"KerasSequenceCNN": ["keras==2.11.0", "tensorflow==2.11.0"]
},
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'
]
},
)