diff --git a/MANIFEST.in b/MANIFEST.in index b0e4bc26f0c8d420970b1e5589f9f4c1082a0e36..244b3328d6a79970c7520d78b89f642a69590501 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,5 +1,5 @@ include LICENSE OWNERS README -include chkcrontab.py +include chkcrontab include chkcrontab_lib.py include setup.py recursive-include tests test* diff --git a/README b/README index 30084fbb34b814f07691f7cc110b463d368f172c..fbe593e53c8e07a18212830a4bd5a9071f32f3e4 100644 --- a/README +++ b/README @@ -1,18 +1,18 @@ Crontab linter. -chkcrontab.py is a script to check crontab files like those in +chkcrontab is a script to check crontab files like those in /etc/cron.d and /etc/crontab. It tries to catch glaring errors and warn on suspect lines in a crontab file. Some valid lines will generate warnings. Certain silly yet valid crontab lines will generate errors as well. -Run this by doing ./chkcrontab.py crontab_file +Run this by doing ./chkcrontab crontab_file Errors will cause a non-zero exit code. Warnings alone will not. To see sample output for a bad crontab, run the following: - ./chkcrontab.py ./tests/test_crontab + ./chkcrontab ./tests/test_crontab See the ./tests/test_crontab.disable crontab for how to disable warnings and errors. diff --git a/chkcrontab.py b/chkcrontab similarity index 100% rename from chkcrontab.py rename to chkcrontab diff --git a/setup.py b/setup.py index dc525041a7d7f9840f9145a2aef94fd33d3e95c6..a6dcc2709f73d43342a804ac4d1776f5127d1ae5 100755 --- a/setup.py +++ b/setup.py @@ -129,7 +129,7 @@ setup( description='A tool to detect crontab errors', long_description=open('README').read(), py_modules=['chkcrontab_lib'], - scripts=['chkcrontab.py'], + scripts=['chkcrontab'], keywords='check lint crontab', # See http://pypi.python.org/pypi?%3Aaction=list_classifiers license = 'Apache Software License',