File: install.rst

package info (click to toggle)
twython 3.8.2%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 600 kB
  • sloc: python: 1,793; makefile: 148; sh: 49
file content (59 lines) | stat: -rw-r--r-- 1,364 bytes parent folder | download
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
============

Information on how to properly install Twython

*******************************************************************************

Pip or Easy Install
-------------------

Install Twython via `pip <http://www.pip-installer.org/>`_

.. code-block:: bash

    $ pip install twython

or, with `easy_install <http://pypi.python.org/pypi/setuptools>`_

.. code-block:: bash

    $ easy_install twython

But, hey... `that's up to you <http://www.pip-installer.org/en/latest/other-tools.html#pip-compared-to-easy-install>`_.


Source Code
-----------

Twython is actively maintained on GitHub

Feel free to clone the repository

.. code-block:: bash

    git clone git://github.com/ryanmcgrath/twython.git

`tarball <https://github.com/ryanmcgrath/twython/tarball/master>`_

.. code-block:: bash

    $ curl -OL https://github.com/ryanmcgrath/twython/tarball/master

`zipball <https://github.com/ryanmcgrath/twython/tarball/master>`_

.. code-block:: bash

    $ curl -OL https://github.com/ryanmcgrath/twython/zipball/master

Now that you have the source code, install it into your site-packages directory

.. code-block:: bash

    $ python setup.py install

*******************************************************************************

So Twython is installed! Now, head over to the :ref:`starting out <starting-out>` section.