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
|
Installation
============
DataPoint for Python can be installed like any other Python module.
It is available on `PyPI <https://pypi.python.org/pypi/datapoint/>`__
and the source is available on
`GitHub <https://github.com/perseudonymous/datapoint-python>`__.
Pip
---
`Pip <https://pip.pypa.io/>`__ makes Python package installation simple.
For the latest stable version just fire up your terminal and run:
::
pip install datapoint
or for the very latest code from the repository’s master branch run:
::
pip install git+git://github.com/perseudonymous/datapoint-python.git@master
and to upgrade it in the future:
::
pip install git+git://github.com/perseudonymous/datapoint-python.git@master --upgrade
Source
------
You can also install from the source in GitHub.
First checkout the GitHub repository (or you can `download the
zip <https://github.com/perseudonymous/datapoint-python/archive/master.zip>`__
and extract it).
::
git clone https://github.com/perseudonymous/datapoint-python.git datapoint-python
Navigate to that directory
::
cd datapoint-python
Then run the setup
::
python setup.py install
|