-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathsetup.py
More file actions
56 lines (42 loc) · 1.56 KB
/
setup.py
File metadata and controls
56 lines (42 loc) · 1.56 KB
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
"""Package setup file"""
from typing import List
from setuptools import find_packages
from setuptools import setup
from biodatasets import ROOT_DIRECTORY
from biodatasets.version import VERSION
README = (ROOT_DIRECTORY / "README.md").read_text()
def read_requirements() -> List:
with open("requirements.txt", "r+") as file:
req = file.readlines()
requirements = [pkg.replace("\n", "") for pkg in req]
return requirements
DESCRIPTION = "Open-source collection of biology datasets and pre-trained embeddings."
def make_install():
"""main install function"""
setup_fn = setup(
name="bio-datasets",
license="Apache-2.0",
version=VERSION,
description=DESCRIPTION,
author="InstaDeep",
long_description=README,
long_description_content_type="text/markdown",
url="https://github.com/DeepChainBio/datasets",
author_email="a.delfosse@instadeep.com",
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()