Move keep script into barbicanclient module.

This commit is contained in:
Douglas Mendizabal
2013-06-24 16:01:46 -05:00
parent 44a2938c94
commit 4fadb41977
4 changed files with 8 additions and 6 deletions

1
.gitignore vendored
View File

@@ -36,6 +36,7 @@ nosetests.xml
# Idea
.idea
*.iml
# generic venvs
.venv

View File

@@ -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`).

4
keep → barbicanclient/keep.py Executable file → Normal file
View File

@@ -166,7 +166,3 @@ class Keep:
def main():
k = Keep()
k.execute()
if __name__ == '__main__':
main()

View File

@@ -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
"""
)