forked from python-arq/arq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
64 lines (61 loc) · 2.04 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
from pathlib import Path
from importlib.machinery import SourceFileLoader
from setuptools import setup
readme = Path(__file__).parent.joinpath('README.rst')
if readme.exists():
with readme.open() as f:
long_description = f.read()
else:
long_description = '-'
# avoid loading the package before requirements are installed:
version = SourceFileLoader('version', 'arq/version.py').load_module()
setup(
name='arq',
version=str(version.VERSION),
description='Job queues in python with asyncio and redis.',
long_description=long_description,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Framework :: AsyncIO',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: Unix',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Internet',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: System :: Clustering',
'Topic :: System :: Distributed Computing',
'Topic :: System :: Monitoring',
'Topic :: System :: Systems Administration',
],
python_requires='>=3.6',
author='Samuel Colvin',
author_email='[email protected]',
url='https://github.com/samuelcolvin/arq',
license='MIT',
packages=['arq'],
package_data={'arq': ['py.typed']},
zip_safe=True,
entry_points="""
[console_scripts]
arq=arq.cli:cli
""",
install_requires=[
'async-timeout>=3.0.0',
'aioredis>=1.1.0',
'click>=6.7',
'pydantic>=0.20',
'dataclasses>=0.6;python_version == "3.6"'
],
extras_require={
'watch': ['watchgod>=0.4'],
}
)