-
Notifications
You must be signed in to change notification settings - Fork 39
/
setup.py
83 lines (81 loc) · 2.48 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
77
78
79
80
81
82
83
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="[email protected]",
license="MIT",
packages=[
"saq",
"saq.queue",
"saq.web",
],
include_package_data=True,
entry_points="""
[console_scripts]
saq=saq.__main__:main
""",
install_requires=[
"croniter>=0.3.18",
],
extras_require={
"hiredis": ["redis[hiredis]>=4.2.0"],
"http": ["aiohttp"],
"postgres": ["psycopg[pool]>=3.2.0"],
"redis": ["redis>=4.2,<6.0"],
"web": ["aiohttp", "aiohttp_basicauth"],
"dev": [
"aiohttp",
"aiohttp_basicauth",
"coverage",
"mypy",
"psycopg[pool]>=3.2.0",
"pre-commit",
"redis>=4.2,<6.0",
"ruff",
"types-croniter",
"types-redis",
"types-setuptools",
"starlette",
"httpx",
],
},
classifiers=[
"Development Status :: 5 - Production/Stable",
"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",
"Programming Language :: Python :: 3.12",
"Topic :: Internet",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Distributed Computing",
"Topic :: System :: Monitoring",
"Topic :: System :: Systems Administration",
],
)