1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
|
.. _install:
Installation
============
What's Included
---------------
When you install softlayer-python you you will get the following:
* a python package called 'SoftLayer' (casing is important) available in your python path.
* a command-line client placed in your system path named 'slcli'.
Using Pip
---------
Install via pip:
::
$ pip install softlayer
.. _install_from_source:
From Source
-----------
The project is developed on GitHub, at
`https://github.com/softlayer/softlayer-python <https://github.com/softlayer/softlayer-python>`_.
Install from source via pip (requires `git <http://git-scm.com>`_):
::
$ pip install git+git://github.com/softlayer/softlayer-python.git
You can clone the public repository::
$ git clone git@github.com:softlayer/softlayer-python.git
Or, Download the `tarball <https://github.com/softlayer/softlayer-python/tarball/master>`_:
::
$ curl -OL https://github.com/softlayer/softlayer-python/tarball/master
Or, download the `zipball <https://github.com/softlayer/softlayer-python/zipball/master>`_:
::
$ curl -OL https://github.com/softlayer/softlayer-python/zipball/master
Once you have a copy of the source you can install it with one of the following commands:
::
$ python setup.py install
Or:
::
$ pip install .
For more information about working with the source, or contributing to the
project, please see the :ref:`Contribution Guide <api_dev>`.
|