-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
57 lines (50 loc) · 1.62 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
import pathlib
from importlib.machinery import SourceFileLoader
import setuptools
version = SourceFileLoader('version', 'darq/version.py').load_module()
def readfile(filename: str) -> str:
return pathlib.Path(filename).read_text('utf-8').strip()
long_description = '\n\n'.join((
readfile('README.rst'),
readfile('CHANGES.rst'),
))
setuptools.setup(
name='darq',
version=version.__version__,
author='Igor Mozharovsky',
author_email='igor.mozharovsky@gmail.com',
description=(
'Async task manager with Celery-like features and type checking. '
'Fork of arq.'),
long_description=long_description,
long_description_content_type='text/x-rst',
url='https://github.com/seedofjoy/darq',
packages=['darq'],
package_data={'darq': ['py.typed']},
data_files=['CHANGES.rst'],
classifiers=[
'Environment :: Console',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Typing :: Typed',
],
entry_points={
'console_scripts': ['darq = darq.cli:cli'],
},
install_requires=[
'async-timeout>=3.0.0, <5.0',
'click>=6.7',
'typing_extensions>=4.0; python_version<"3.8"',
],
extras_require={
'watch': ['watchgod>=0.4'],
},
python_requires='>=3.7',
license='MIT',
)