-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
88 lines (83 loc) · 2.5 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
#
# -*- coding: utf-8 -*-
"""setuptools based setup for tomcatmanager
"""
from os import path
from setuptools import setup, find_packages
#
# get the long description from the README file
here = path.abspath(path.dirname(__file__))
with open(path.join(here, "README.md"), encoding="utf-8") as f:
long_description = f.read()
setup(
name="ksc",
use_scm_version=True,
description="A command line tool and python library for documenting and describing keyboard shortcuts.",
long_description=long_description,
long_description_content_type="text/markdown",
author="Jared Crapo",
author_email="jared@kotfu.net",
url="https://github.com/kotfu/ksc",
license="MIT",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Operating System :: OS Independent",
"Topic :: Utilities",
"Topic :: Software Development :: Libraries :: Python Modules",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
keywords="keyboard shortcut documentation command line",
packages=find_packages(where="src"),
package_dir={"": "src"},
# for PEP 561
package_data={"tomcatmanager": ["py.typed"]},
include_package_data=True,
#
python_requires=">=3.6",
install_requires=[
"importlib_metadata>=1.6.0;python_version<'3.8'",
],
setup_requires=["setuptools_scm"],
# dependencies for development and documentation
# $ pip install -e .[dev]
extras_require={
"dev": [
"pytest",
"pytest-mock",
"codecov",
"pytest-cov",
"pylint",
"black",
"setuptools_scm",
"wheel",
"twine",
"rope",
"invoke",
"sphinx",
"sphinx-autobuild",
"sphinx_rtd_theme",
"autodocsumm",
"doc8",
],
"docs": [
"sphinx",
"sphinx-autobuild",
"sphinx_rtd_theme",
"autodocsumm",
"doc8",
],
},
# define the scripts that should be created on installation
entry_points={
"console_scripts": [
"ksc=ksc.__main__:main",
],
},
)