-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsetup.py
34 lines (29 loc) · 936 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
#!/usr/bin/env python
import ast
import re
from setuptools import setup
_version_re = re.compile(r'__version__\s+=\s+(.*)')
with open('click_threading/__init__.py', 'rb') as f:
version = str(ast.literal_eval(_version_re.search(
f.read().decode('utf-8')).group(1)))
setup(
name='click-threading',
version=version,
description='Multithreaded Click apps made easy',
author='Markus Unterwaditzer',
author_email='[email protected]',
url='https://github.com/click-contrib/click-threading',
license='MIT',
packages=['click_threading'],
install_requires=[
'click>=5.0',
],
python_requires=">=3.6",
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
)