python-click-threading/setup.py
2021-11-28 18:36:50 +01:00

35 lines
936 B
Python

#!/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='markus@unterwaditzer.net',
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",
],
)