diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r--[-rwxr-xr-x] | barbicanclient/keep.py (renamed from keep) | 4 | ||||
-rw-r--r-- | setup.py | 5 |
4 files changed, 8 insertions, 6 deletions
@@ -36,6 +36,7 @@ nosetests.xml # Idea .idea +*.iml # generic venvs .venv @@ -1,4 +1,6 @@ python-barbicanclient ===================== -A python library for accessing the Barbican key management service. +This is a client for the [Barbican](https://github.com/cloudkeep/barbican) +Key Management API. There is a Python library for accessing the API +(`barbicanclient` module), and a command-line script (`keep`). diff --git a/keep b/barbicanclient/keep.py index 6a0e878..1f3ce99 100755..100644 --- a/keep +++ b/barbicanclient/keep.py @@ -166,7 +166,3 @@ class Keep: def main(): k = Keep() k.execute() - - -if __name__ == '__main__': - main() @@ -55,5 +55,8 @@ setuptools.setup( 'Programming Language :: Python :: 2.7', 'Environment :: No Input/Output (Daemon)', ], - scripts = ['keep'] + entry_points=""" + [console_scripts] + keep = barbicanclient.keep:main + """ ) |