-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
46 lines (37 loc) · 1.33 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
import re
from os import path
from setuptools import find_namespace_packages, setup
here = path.abspath(path.dirname(__file__))
with open(path.join(here, "src", "covid_health", "__init__.py")) as init:
__version__ = re.findall('__version__ = "([\w\.\-\_]+)"', init.read())[0]
with open(path.join(here, "README.md"), encoding="utf-8") as f:
long_description = f.read()
with open(path.join(here, "requirements.txt"), encoding="utf-8") as f:
all_reqs = f.read().split("\n")
with open(path.join(here, "requirements-dev.txt"), encoding="utf-8") as f:
dev_reqs = f.read().split("\n")
setup(
name="covid-health",
version=__version__,
description="",
long_description=long_description,
long_description_content_type="text/markdown",
author="Giacomo Barone, Buildnn",
url="https://www.buildnn.com",
license="Copyright © 2020 Giacomo Barone / Buildnn. MIT.",
classifiers=[],
package_dir={"": "src"},
packages=find_namespace_packages(
where="src", include=["*"], exclude=["*.egg-info"]
),
include_package_data=True,
keywords="",
install_requires=all_reqs,
extras_require={"dev": dev_reqs},
# dependency_links=dependency_links,
author_email="[email protected]",
entry_points="""
[console_scripts]
covid-data=covid_health.cli:main
""",
)