basak / glacier-cli

Command-line interface to Amazon Glacier
Other
617 stars 55 forks source link

Adds a setup.py file. #60

Closed mhubig closed 8 years ago

mhubig commented 9 years ago

I added a setup.py file so glacier-cli will be easier to install. Until #30 is resolved you can install glacier-cli and boto into a virtualenv and link it to e.g. /usr/local/bin/glacier. Example using virtualenvwrapper:

$ git clone git@github.com:mhubig/glacier-cli.git
$ cd glacier-cli
$ git checkout develop
$ mkvirtualenv -a $(pwd) -p python2.7 glacier-cli
(glacier-cli)$ python setup.py test
(glacier-cli)$ python setup.py install
(glacier-cli)$ ln -s $(which glacier-cli) /usr/local/bin/glacier
(glacier-cli)$ deactivate
$ glacier
usage: glacier [-h] [--region REGION] {vault,archive,job} ...
glacier: error: too few arguments