How to install Retweet

From PyPI

$ pip3 install retweet

From sources

  • You need at least Python 3.4.

  • On some Linux Distribution setuptools package does not come with default python install, you need to install it.

  • Install PIP:

    $ wget https://bootstrap.pypa.io/get-pip.py -O - | sudo python3
    
  • Install setuptools module:

    $ wget https://bootstrap.pypa.io/ez_setup.py -O - | sudo python3
    

    (Alternatively, Setuptools may be installed to a user-local path):

    $ wget https://bootstrap.pypa.io/ez_setup.py -O - | python3 - --user
    
  • Untar the tarball and go to the source directory with the following commands:

    $ tar zxvf retweet-0.10.tar.gz
    $ cd retweet
    
  • Next, to install Retweet on your computer, type the following command with the root user:

    $ python3 setup.py install
    $ # or
    $ python3 setup.py install --install-scripts=/usr/bin