-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
50 lines (46 loc) · 1.53 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
47
48
49
50
from setuptools import setup, find_packages
from pathlib import Path
CURRENT_DIR = Path(__file__).parent
def get_long_description() -> str:
return (
(CURRENT_DIR / "README.md").read_text(encoding="utf8")
)
setup(
name="cmlint",
use_scm_version={
"write_to": "cmlint/_cmlint_version.py",
"write_to_template": 'version = "{version}"\n',
},
description="The commit message linter.",
long_description=get_long_description(),
long_description_content_type="text/markdown",
author="Aleix Alcacer",
author_email="[email protected]",
url="https://github.com/aleixalcacer/cmlint",
license="MIT",
packages=find_packages(),
python_requires=">=3.7",
install_requires=[
"click>=8.0.0",
],
classifiers=[
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Quality Assurance",
],
entry_points={
"console_scripts": [
"cmlint=cmlint.command_line:main",
]
},
)