generated from pmbrull/python-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
45 lines (38 loc) · 1003 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
40
41
42
43
44
45
"""
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 = {
"pydantic",
"duckdb",
"duckdb-engine",
"requests",
"loguru",
"pandas",
"SQLAlchemy~=1.4",
}
dev = {"isort", "pre-commit", "ruff", "black", "pycln"}
setup(
name="PyGitDB",
version="0.1.2",
description="Load git stats into a DuckDB db locally for easy analytics.",
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": ["gitdb = gitdb.main:cli"],
},
install_requires=list(base_requirements),
extras_require={
"dev": list(dev),
},
)