Debian Codegraph @

docs/pages/installation.rst

raw
1 .. _installation:
2
3 ************
4 Installation
5 ************
6
7 Use a Published Release
8 #######################
9
10 To install Questionary, simply run this command in your terminal of
11 choice:
12
13 .. code-block:: console
14
15 $ pip install questionary
16
17 Build from Source
18 #################
19
20 Installing from source code is only necessary, if you want to
21 make changes to the Questionary source code. Questionary is actively
22 `developed on GitHub <https://github.com/tmbo/questionary>`_.
23
24 You can either clone the public repository:
25
26 .. code-block:: console
27
28 $ git clone [email protected]:tmbo/questionary.git
29
30 Or, download the tarball:
31
32 .. code-block:: console
33
34 $ curl -OL https://github.com/tmbo/questionary/tarball/master
35
36 .. note::
37 If you are using windows, you can also download a zip instead:
38
39 .. code-block:: console
40
41 $ curl -OL https://github.com/tmbo/questionary/zipball/master
42
43 Questionary uses `Poetry <https://python-poetry.org/>`_ for packaging and
44 dependency management. If you want to build Questionary from source, you
45 must install Poetry first:
46
47 .. code-block:: console
48
49 $ curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python3
50
51 There are several other ways to install Poetry, as seen in
52 `the official guide <https://python-poetry.org/docs/#installation>`_.
53
54 To install Questionary and its dependencies in editable mode, execute
55
56 .. code-block:: console
57
58 $ make install