Skip to content

Commit

Permalink
making python-crontab an optional dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Loo committed Mar 25, 2020
1 parent 3393d17 commit 5e4a4c4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Therefore, `detect-secrets-server` accomplishes several things:
### Quick Start

```
$ pip install detect-secrets-server
$ pip install detect-secrets-server[cron]
$ detect-secrets-server add git@github.com:yelp/detect-secrets
$ detect-secrets-server install cron
```
Expand Down
6 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,12 @@
'detect-secrets>=0.13.0',
'pyyaml',
'unidiff',
'python-crontab',
],
extras_require={
'cron': [
'python-crontab',
],
},
entry_points={
'console_scripts': [
'detect-secrets-server = detect_secrets_server.__main__:main',
Expand Down

0 comments on commit 5e4a4c4

Please sign in to comment.