-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update cron lite to 1.1, bugfix and support timezone
- Loading branch information
BaozhenChen
committed
Jul 25, 2023
1 parent
a748fbf
commit 4ee6421
Showing
4 changed files
with
63 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
|
||
if "upload" in argv: | ||
print("running test") | ||
assert system("python test_cron_lite.py") == 0 | ||
assert system("python3.6 test_cron_lite.py") == 0 | ||
|
||
this_directory = path.abspath(path.dirname(__file__)) | ||
|
||
|
@@ -18,13 +18,13 @@ | |
|
||
setup( | ||
name='cron-lite', | ||
version='1.0', | ||
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'], | ||
install_requires=['croniter>=1.3.4', 'pytz>=2022.7'], | ||
keywords='cron task decorator schedule', | ||
long_description=long_description, | ||
python_requires=">=3.6" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters