-
Notifications
You must be signed in to change notification settings - Fork 98
/
Copy pathsetup.py
75 lines (59 loc) · 1.64 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
"""
Plan
----
Cron jobs in Python.
Plan is easy
````````````
Save in a schedule.py:
.. code:: python
from plan import Plan
cron = Plan()
cron.command('ls /tmp', every='1.day', at='12:00')
cron.command('pwd', every='2.month')
cron.command('date', every='weekend')
if __name__ == "__main__":
cron.run()
And run it:
.. code:: bash
$ pip install plan
$ python schedule.py
Links
`````
* `documentation <http://plan.readthedocs.org/>`_
* `github <https://github.com/fengsp/plan>`_
* `development version
<http://github.com/fengsp/plan/zipball/master#egg=plan-dev>`_
"""
from setuptools import setup
setup(
name='plan',
version='0.6-dev',
url='https://github.com/fengsp/plan',
license='BSD',
author='Shipeng Feng',
author_email='[email protected]',
description='A Python package for writing and deploying cron jobs '
'with a clear and beautiful syntax.',
long_description=__doc__,
packages=['plan', 'plan.testsuite'],
entry_points={
'console_scripts': [
'plan-quickstart = plan.commands:quickstart'
]
},
install_requires=[
'click>=2.1'
],
zip_safe=False,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
],
)