-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
44 lines (36 loc) · 1.27 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
import os
from setuptools import setup
version = "1.0.0"
with open("README.md", "r") as fh:
long_description = fh.read()
with open("requirements.txt", "r") as f:
requirements = f.readlines()
def get_packages(package):
"""Return root package and all sub-packages."""
return [dirpath
for dirpath, dirnames, filenames in os.walk(package)
if os.path.exists(os.path.join(dirpath, "__init__.py"))]
setup(
name="rapex-kg",
version=version,
author="Jingcheng Yang",
author_email="[email protected]",
description="A Python project that allows you to analyse response to air pollution exposure, and integrate and mine knowledge from multiple biomedical databases widely used nowadays.",
long_description=long_description,
long_description_content_type='text/markdown',
url="https://github.com/rapex-lab/rapex-kg.git",
packages=get_packages("rapex_kg"),
install_requires=requirements,
entry_points={
'console_scripts': [
'rapex-kg=rapex_kg:knowledge_graph',
]
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires='>=3.7',
include_package_data=True,
)