-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
39 lines (31 loc) · 864 Bytes
/
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
"""
Project setup
"""
import os
from setuptools import find_namespace_packages, find_packages, setup
def get_long_description():
root = os.path.dirname(__file__)
with open(os.path.join(root, "README.md")) as f:
description = f.read()
return description
base_requirements = {
}
dev = {"isort", "pre-commit", "pylint", "black", "pycln", "pyright"}
setup(
name="template",
version="0.0.1",
description="Project template",
long_description=get_long_description(),
long_description_content_type="text/markdown",
python_requires=">=3.9",
zip_safe=True,
include_package_data=True,
packages=find_namespace_packages(),
# entry_points={
# "console_scripts": ["cmd = template.main:app"],
# },
install_requires=list(base_requirements),
extras_require={
"dev": list(dev),
},
)