diff --git a/.idea/.gitignore b/.idea/.gitignore deleted file mode 100644 index e69de29..0000000 diff --git a/.idea/exec-notify.iml b/.idea/exec-notify.iml new file mode 100644 index 0000000..4ead3f9 --- /dev/null +++ b/.idea/exec-notify.iml @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/execNotify.iml b/.idea/execNotify.iml deleted file mode 100644 index 31737c9..0000000 --- a/.idea/execNotify.iml +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml deleted file mode 100644 index e96f6e0..0000000 --- a/.idea/inspectionProfiles/Project_Default.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - \ No newline at end of file diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml deleted file mode 100644 index 105ce2d..0000000 --- a/.idea/inspectionProfiles/profiles_settings.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml index 7174e2d..01a121c 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,4 +1,6 @@ - + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml index 1e55ac7..7c4a35f 100644 --- a/.idea/modules.xml +++ b/.idea/modules.xml @@ -2,7 +2,7 @@ - + \ No newline at end of file diff --git a/.idea/runConfigurations/execNotify.xml b/.idea/runConfigurations/execNotify.xml deleted file mode 100644 index 1722157..0000000 --- a/.idea/runConfigurations/execNotify.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - \ No newline at end of file diff --git a/.idea/runConfigurations/notify.xml b/.idea/runConfigurations/notify.xml deleted file mode 100644 index f0d9141..0000000 --- a/.idea/runConfigurations/notify.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml index 94a25f7..35eb1dd 100644 --- a/.idea/vcs.xml +++ b/.idea/vcs.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file diff --git a/README.md b/README.md index 954d4df..8b1f28c 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # exec-notify -* Send email notification if command fails with [exec-notify](src/exec_notify/exec_notify.py). +* Send email notification if command fails with [exec-notify](src/exec_notify/main.py). * Send unconditional notifications with [do-notify](src/exec_notify/do_notify.py). ## TODOs diff --git a/setup.cfg b/setup.cfg index db9596f..e3fed44 100644 --- a/setup.cfg +++ b/setup.cfg @@ -32,5 +32,5 @@ where = src [options.entry_points] ; https://setuptools.readthedocs.io/en/latest/userguide/entry_point.html console_scripts= - exec-notify = exec_notify.exec_notify:main + exec-notify = exec_notify.main:main do-notify = exec_notify.do_notify:main diff --git a/src/exec_notify/exec_notify.py b/src/exec_notify/main.py similarity index 100% rename from src/exec_notify/exec_notify.py rename to src/exec_notify/main.py