"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "docs/manual/installation/installation.rst" between
buildbot-3.0.2.tar.gz and buildbot-3.1.0.tar.gz

About: Buildbot is a continuous integration testing framework (Python-based). It supports also automation of complex build systems, application deployment, and management of sophisticated software-release processes.

installation.rst  (buildbot-3.0.2):installation.rst  (buildbot-3.1.0)
skipping to change at line 30 skipping to change at line 30
.. code-block:: bash .. code-block:: bash
pip install buildbot pip install buildbot
and for the worker: and for the worker:
.. code-block:: bash .. code-block:: bash
pip install buildbot-worker pip install buildbot-worker
When using ``pip`` to install instead of distribution specific package managers, When using ``pip`` to install, instead of distribution specific package managers
e.g. via `apt-get` or `ports`, it is simpler to choose exactly which version on , e.g. via `apt` or `ports`, it is simpler to choose exactly which version one w
e wants to use. ants to use.
It may however be easier to install via distribution specific package mangers bu It may however be easier to install via distribution specific package managers,
t note that they may provide an earlier version than what is available via ``pip but note that they may provide an earlier version than what is available via ``p
``. ip``.
If you plan to use TLS or SSL in master configuration (e.g. to fetch resources o ver HTTPS using ``twisted.web.client``), you need to install Buildbot with ``tls `` extras: If you plan to use TLS or SSL in master configuration (e.g. to fetch resources o ver HTTPS using ``twisted.web.client``), you need to install Buildbot with ``tls `` extras:
.. code-block:: bash .. code-block:: bash
pip install buildbot[tls] pip install buildbot[tls]
Installation From Tarballs Installation From Tarballs
~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~
skipping to change at line 66 skipping to change at line 66
To test this, shift to a different directory (like :file:`/tmp`), and run: To test this, shift to a different directory (like :file:`/tmp`), and run:
.. code-block:: bash .. code-block:: bash
buildbot --version buildbot --version
# or # or
buildbot-worker --version buildbot-worker --version
If it shows you the versions of Buildbot and Twisted, the install went ok. If it shows you the versions of Buildbot and Twisted, the install went ok.
If it says "no such command" or it gets an ``ImportError`` when it tries to load the libraries, then something went wrong. If it says "no such command" or gets an ``ImportError`` when it tries to load th e libraries, then something went wrong.
``pydoc buildbot`` is another useful diagnostic tool. ``pydoc buildbot`` is another useful diagnostic tool.
Windows users will find these files in other places. Windows users will find these files in other places.
You will need to make sure that Python can find the libraries, and will probably find it convenient to have :command:`buildbot` on your :envvar:`PATH`. You will need to make sure that Python can find the libraries, and will probably find it convenient to have :command:`buildbot` in your :envvar:`PATH`.
.. _Installation-in-a-Virtualenv: .. _Installation-in-a-Virtualenv:
Installation in a Virtualenv Installation in a Virtualenv
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If you cannot or do not wish to install the buildbot into a site-wide location l ike :file:`/usr` or :file:`/usr/local`, you can also install it into the account 's home directory or any other location using a tool like `virtualenv <http://py pi.python.org/pypi/virtualenv>`_. If you cannot or do not wish to install buildbot into a site-wide location like :file:`/usr` or :file:`/usr/local`, you can also install it into the account's h ome directory or any other location using a tool like `virtualenv <http://pypi.p ython.org/pypi/virtualenv>`_.
.. _Running-Buildbots-Tests-optional: .. _Running-Buildbots-Tests-optional:
Running Buildbot's Tests (optional) Running Buildbot's Tests (optional)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If you wish, you can run the buildbot unit test suite. If you wish, you can run the buildbot unit test suite.
First, ensure you have the `mock <http://pypi.python.org/pypi/mock>`_ Python mod ule installed from PyPI. First, ensure that you have the `mock <http://pypi.python.org/pypi/mock>`_ Pytho n module installed from PyPI.
You must not be using a Python wheels packaged version of Buildbot or have speci fied the bdist_wheel command when building. You must not be using a Python wheels packaged version of Buildbot or have speci fied the bdist_wheel command when building.
The test suite is not included with the PyPi packaged version. The test suite is not included with the PyPi packaged version.
This module is not required for ordinary Buildbot operation - only to run the te sts. This module is not required for ordinary Buildbot operation - only to run the te sts.
Note that this is not the same as the Fedora ``mock`` package! Note that this is not the same as the Fedora ``mock`` package!
You can check with You can check if you have mock with:
.. code-block:: bash .. code-block:: bash
python -mmock python -mmock
Then, run the tests: Then, run the tests:
.. code-block:: bash .. code-block:: bash
PYTHONPATH=. trial buildbot.test PYTHONPATH=. trial buildbot.test
 End of changes. 6 change blocks. 
11 lines changed or deleted 11 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)