generated from simonw/click-app-template-repository
-
-
Notifications
You must be signed in to change notification settings - Fork 18
/
setup.py
37 lines (32 loc) · 1.05 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
from setuptools import setup
import os
VERSION = "0.3.1"
def get_long_description():
with open(
os.path.join(os.path.dirname(os.path.abspath(__file__)), "README.md"),
encoding="utf8",
) as fp:
return fp.read()
setup(
name="git-history",
description="Tools for analyzing Git history using SQLite",
long_description=get_long_description(),
long_description_content_type="text/markdown",
author="Simon Willison",
url="https://github.com/simonw/git-history",
project_urls={
"Issues": "https://github.com/simonw/git-history/issues",
"CI": "https://github.com/simonw/git-history/actions",
"Changelog": "https://github.com/simonw/git-history/releases",
},
license="Apache License, Version 2.0",
version=VERSION,
packages=["git_history"],
entry_points="""
[console_scripts]
git-history=git_history.cli:cli
""",
install_requires=["click", "GitPython", "sqlite-utils>=3.19a0"],
extras_require={"test": ["pytest"]},
python_requires=">=3.6",
)