-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathsetup.py
More file actions
34 lines (28 loc) · 794 Bytes
/
setup.py
File metadata and controls
34 lines (28 loc) · 794 Bytes
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
# -*- coding: utf-8 -*-
import io
import re
from setuptools import setup
with io.open("README.rst", "rt", encoding="utf8") as f:
readme = f.read()
with io.open("click_help_colors/__init__.py", "rt", encoding="utf8") as f:
version = re.search(r"__version__ = '(.*?)'", f.read()).group(1)
setup(
name='click-help-colors',
version=version,
packages=['click_help_colors'],
package_data={'click_help_colors': ['py.typed']},
description='Colorization of help messages in Click',
long_description=readme,
url='https://github.com/click-contrib/click-help-colors',
keywords=['click'],
license='MIT',
install_requires=[
'click>=7.0,<9'
],
extras_require={
"dev": [
"mypy",
"pytest",
]
},
)