forked from tobymao/saq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
76 lines (74 loc) · 2.23 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
# pylint: disable=consider-using-with
from setuptools import setup
version = (
open("saq/__init__.py", encoding="utf8")
.read()
.split("__version__ = ")[-1]
.split("\n")[0]
.strip("")
.strip("'")
.strip('"')
)
setup(
name="saq",
version=version,
description="Distributed Python job queue with asyncio and redis",
long_description=open("README.md", encoding="utf8").read(),
long_description_content_type="text/markdown",
url="https://github.com/tobymao/saq",
author="Toby Mao",
author_email="toby.mao@gmail.com",
license="MIT",
packages=[
"saq",
"saq.web",
],
include_package_data=True,
entry_points="""
[console_scripts]
saq=saq.__main__:main
""",
install_requires=[
"redis>=4.2,<6.0",
"croniter>=0.3.18",
],
extras_require={
"hiredis": ["redis[hiredis]>=4.2.0"],
"web": ["aiohttp", "aiohttp_basicauth"],
"dev": [
"black",
"coverage",
"mypy",
"pylint",
"types-croniter",
"types-redis",
"types-setuptools",
"starlette",
"httpx",
],
},
classifiers=[
"Development Status :: 3 - Alpha",
"Framework :: AsyncIO",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: MIT License",
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
"Operating System :: OS Independent",
"Operating System :: Unix",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Internet",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Distributed Computing",
"Topic :: System :: Monitoring",
"Topic :: System :: Systems Administration",
],
)