フォーク元 itec/banana
51 行
1.1 KiB
ReStructuredText
51 行
1.1 KiB
ReStructuredText
.. highlight:: shell
|
|
|
|
============
|
|
Installation
|
|
============
|
|
|
|
|
|
Stable release
|
|
--------------
|
|
|
|
To install banana, run this command in your terminal:
|
|
|
|
.. code-block:: console
|
|
|
|
$ pip install banana
|
|
|
|
This is the preferred method to install banana, as it will always install the most recent stable release.
|
|
|
|
If you don't have `pip`_ installed, this `Python installation guide`_ can guide
|
|
you through the process.
|
|
|
|
.. _pip: https://pip.pypa.io
|
|
.. _Python installation guide: http://docs.python-guide.org/en/latest/starting/installation/
|
|
|
|
|
|
From sources
|
|
------------
|
|
|
|
The sources for banana can be downloaded from the `Gogs repo`_.
|
|
|
|
You can either clone the public repository:
|
|
|
|
.. code-block:: console
|
|
|
|
$ git clone https://git.lattuga.net/itec/banana
|
|
|
|
Or download the `tarball`_:
|
|
|
|
.. code-block:: console
|
|
|
|
$ curl -OJL https://git.lattuga.net/itec/banana/archive/master.tar.gz
|
|
|
|
Once you have a copy of the source, you can install it with:
|
|
|
|
.. code-block:: console
|
|
|
|
$ python setup.py install
|
|
|
|
|
|
.. _Gogs repo: https://git.lattuga.net/itec/banana
|
|
.. _tarball: https://git.lattuga.net/itec/banana/archive/master.tar.gz
|