forked from DeepChainBio/bio-transformers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·56 lines (41 loc) · 1.51 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
"""Setup file"""
import pathlib
from typing import List
from setuptools import find_packages, setup
HERE = pathlib.Path(__file__).parent
README = (HERE / "README.md").read_text()
with open("biotransformers/version.py") as v:
exec(v.readline())
def read_requirements() -> List:
with open("requirements.txt", "r+") as file:
requirements = [line.strip() for line in file.readlines()]
return requirements
DESCRIPTION = "Wrapper on top of ESM/Protbert model in order to easily work with protein embedding"
def make_install():
"""main install function"""
setup_fn = setup(
name="bio-transformers",
license="Apache-2.0",
version=VERSION, # noqa
description=DESCRIPTION,
author="Instadeep",
long_description=README,
long_description_content_type="text/markdown",
author_email="[email protected]",
packages=find_packages(exclude=["test"]),
classifiers=[
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.7",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Topic :: Software Development",
],
install_requires=read_requirements(),
include_package_data=True,
zip_safe=False,
python_requires=">=3.7",
)
return setup_fn
if __name__ == "__main__":
make_install()