-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
31 lines (27 loc) · 841 Bytes
/
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
#!/usr/bin/env python
# coding: utf-8
from distutils.core import setup
from os import path, system
from sys import argv
if "upload" in argv:
print("running test")
assert system("python3.6 test_cron_lite.py") == 0
this_directory = path.abspath(path.dirname(__file__))
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except:
long_description = ""
setup(
name='cron-lite',
version='1.1',
description='A very light library to run python functions like cron jobs do.',
author='Rainy Chan',
author_email='[email protected]',
url='https://github.com/rainydew/cron_lite',
py_modules=["cron_lite"],
install_requires=['croniter>=1.3.4', 'pytz>=2022.7'],
keywords='cron task decorator schedule',
long_description=long_description,
python_requires=">=3.6"
)