forked from agronholm/apscheduler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
98 lines (94 loc) · 3.67 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# coding: utf-8
import os.path
from setuptools import setup, find_packages
here = os.path.dirname(__file__)
readme_path = os.path.join(here, 'README.rst')
readme = open(readme_path).read()
setup(
name='APScheduler',
use_scm_version={
'version_scheme': 'post-release',
'local_scheme': 'dirty-tag'
},
description='In-process task scheduler with Cron-like capabilities',
long_description=readme,
author=u'Alex Grönholm',
author_email='apscheduler@nextday.fi',
url='https://github.com/agronholm/apscheduler',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7'
],
keywords='scheduling cron',
license='MIT',
packages=find_packages(exclude=['tests']),
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4',
setup_requires=[
'setuptools_scm'
],
install_requires=[
'setuptools >= 0.7',
'six >= 1.4.0',
'pytz',
'tzlocal >= 2.0, != 3.*'
],
extras_require={
':python_version == "2.7"': ['futures'],
':python_version < "3.5"': ['funcsigs'],
'asyncio:python_version == "2.7"': ['trollius'],
'gevent': ['gevent'],
'mongodb': ['pymongo >= 3.0'],
'redis': ['redis >= 3.0'],
'rethinkdb': ['rethinkdb >= 2.4.0'],
'sqlalchemy': ['sqlalchemy >= 0.8'],
'tornado': ['tornado >= 4.3'],
'twisted': ['twisted'],
'zookeeper': ['kazoo'],
'testing': [
'pytest < 6',
'pytest-cov',
'pytest-tornado5'
],
'testing:python_version == "2.7"': ['mock'],
'testing:python_version == "3.4"': ['pytest_asyncio < 0.6'],
'testing:python_version >= "3.5"': ['pytest_asyncio'],
'doc': [
'sphinx',
'sphinx-rtd-theme',
],
},
zip_safe=False,
entry_points={
'apscheduler.triggers': [
'date = apscheduler.triggers.date:DateTrigger',
'interval = apscheduler.triggers.interval:IntervalTrigger',
'cron = apscheduler.triggers.cron:CronTrigger',
'and = apscheduler.triggers.combining:AndTrigger',
'or = apscheduler.triggers.combining:OrTrigger'
],
'apscheduler.executors': [
'debug = apscheduler.executors.debug:DebugExecutor',
'threadpool = apscheduler.executors.pool:ThreadPoolExecutor',
'processpool = apscheduler.executors.pool:ProcessPoolExecutor',
'asyncio = apscheduler.executors.asyncio:AsyncIOExecutor [asyncio]',
'gevent = apscheduler.executors.gevent:GeventExecutor [gevent]',
'tornado = apscheduler.executors.tornado:TornadoExecutor [tornado]',
'twisted = apscheduler.executors.twisted:TwistedExecutor [twisted]'
],
'apscheduler.jobstores': [
'memory = apscheduler.jobstores.memory:MemoryJobStore',
'sqlalchemy = apscheduler.jobstores.sqlalchemy:SQLAlchemyJobStore [sqlalchemy]',
'mongodb = apscheduler.jobstores.mongodb:MongoDBJobStore [mongodb]',
'rethinkdb = apscheduler.jobstores.rethinkdb:RethinkDBJobStore [rethinkdb]',
'redis = apscheduler.jobstores.redis:RedisJobStore [redis]',
'zookeeper = apscheduler.jobstores.zookeeper:ZooKeeperJobStore [zookeeper]'
]
}
)