Skip to content

Instantly share code, notes, and snippets.

@hughsaunders
Last active December 11, 2015 09:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hughsaunders/4579306 to your computer and use it in GitHub Desktop.
Save hughsaunders/4579306 to your computer and use it in GitHub Desktop.
Installing python bindings for Rackspace cloud DNS API
#clone the repository from github
hugh@pond-ng:~/git$ git clone https://github.com/rackspace/python-clouddns.git
Cloning into 'python-clouddns'...
remote: Counting objects: 208, done.
remote: Compressing objects: 100% (102/102), done.
remote: Total 208 (delta 124), reused 185 (delta 104)
Receiving objects: 100% (208/208), 38.14 KiB, done.
Resolving deltas: 100% (124/124), done.
hugh@pond-ng:~/git$ ls
python-clouddns
hugh@pond-ng:~/git$ cd python-clouddns/
@pond-ng:~/git/python-clouddns$ ls
clouddns README.rst setup.py tests TODO
#install as root with setuptools:
hugh@pond-ng:~/git/python-clouddns$ sudo python setup.py install
running install
Checking .pth file support in /usr/local/lib/python2.7/dist-packages/
/usr/bin/python -E -c pass
TEST PASSED: /usr/local/lib/python2.7/dist-packages/ appears to support .pth files
running bdist_egg
running egg_info
creating python_clouddns.egg-info
writing python_clouddns.egg-info/PKG-INFO
<snip lots of output>
Installed /usr/local/lib/python2.7/dist-packages/python_clouddns-0.0.0-py2.7.egg
Processing dependencies for python-clouddns==0.0.0
Finished processing dependencies for python-clouddns==0.0.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment