-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
40 lines (34 loc) · 1.19 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
import os
__package_name__ = "pyuniprotkb"
__author__ = "Ruibin Liu"
from setuptools import find_packages, setup # type: ignore
if os.path.exists("README.md"):
long_description = open("README.md").read()
else:
long_description = (
"pyuniprot - A python package to retrieve bioinformatics given Uniprot IDs."
)
with open("requirements.txt") as f:
REQUIREMENTS = f.read().strip().split("\n")
ver = {} # type: ignore
with open("pyuniprot/version.py", "r") as vf:
exec(vf.read(), ver)
setup(
name=__package_name__,
version=ver["__version__"],
author=__author__,
author_email="ruibinliuphd@gmail.com",
description="A python package to retrieve bioinformatics given Uniprot IDs.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/Ruibin-Liu/pyuniprot",
project_urls={"Bug Tracker": "https://github.com/Ruibin-Liu/pyuniprot/issues"},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
packages=find_packages(),
install_requires=REQUIREMENTS,
python_requires=">=3.7",
)