Debian Codegraph @

docs/install.rst

raw
1 Installation
2 ============
3
4 Using pip (or ...)
5 ------------------
6
7 :Category: Stable version
8 :Precondition: :pypi:`pip` (or :pypi:`setuptools`) is installed
9
10 Execute the following command to install :pypi:`behave` with :pypi:`pip`:
11
12 pip install behave
13
14 To update an already installed :pypi:`behave` version, use:
15
16 pip install -U behave
17
18 As an alternative,
19 you can also use :pypi:`easy_install <setuptools>` to install :pypi:`behave`::
20
21 easy_install behave # CASE: New installation.
22 easy_install -U behave # CASE: Upgrade existing installation.
23
24
25 .. hint::
26
27 See also `pip related information`_ for installing Python packages.
28
29 .. _`pip related information`: https://pip.pypa.io/en/latest/installing/
30
31
32 Using a Source Distribution
33 ---------------------------
34
35 After unpacking the :pypi:`behave` source distribution,
36 enter the newly created directory "behave-<version>" and run::
37
38 python setup.py install
39
40
41 Using the Github Repository
42 ---------------------------
43
44 :Category: Bleading edge
45 :Precondition: :pypi:`pip` is installed
46
47 Run the following command
48 to install the newest version from the `Github repository`_::
49
50
51 pip install git+https://github.com/behave/behave
52
53 To install a tagged version from the `Github repository`_, use::
54
55 pip install git+https://github.com/behave/behave@<tag>
56
57 where <tag> is the placeholder for an `existing tag`_.
58
59 .. _`Github repository`: https://github.com/behave/behave
60 .. _`existing tag`: https://github.com/behave/behave/tags