From b9df87564c99523060d9c13302eaa43baea1f2e5 Mon Sep 17 00:00:00 2001
From: Kevin Lyda <kevin@ie.suberic.net>
Date: Sat, 26 May 2012 17:27:05 +0100
Subject: [PATCH] Renamed the script.
---
MANIFEST.in | 2 +-
README | 6 +++---
chkcrontab.py => chkcrontab | 0
setup.py | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)
rename chkcrontab.py => chkcrontab (100%)
diff --git a/MANIFEST.in b/MANIFEST.in
index b0e4bc2..244b332 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 30084fb..fbe593e 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 dc52504..a6dcc27 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',
--
GitLab