"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "doc/installation/pip.rst" between
privacyidea-3.5.2.tar.gz and privacyidea-3.6.tar.gz

About: privacyIDEA is a flexible two factor authentication server that can be used to enhance the security of existing applications like local login, VPN, remote access, SSH connections or access to web sites.

pip.rst  (privacyidea-3.5.2):pip.rst  (privacyidea-3.6)
skipping to change at line 37 skipping to change at line 37
to use Python 3 you can create the virtual environment like this: to use Python 3 you can create the virtual environment like this:
`virtualenv -p /usr/bin/python3 /opt/privacyidea` `virtualenv -p /usr/bin/python3 /opt/privacyidea`
Now you are within the python virtual environment and you can run:: Now you are within the python virtual environment and you can run::
pip install privacyidea pip install privacyidea
in order to install the latest privacyIDEA version from in order to install the latest privacyIDEA version from
`PyPI <https://pypi.org/project/privacyIDEA>`_. `PyPI <https://pypi.org/project/privacyIDEA>`_.
.. note:: Deterministic Installation
The `setup.py` of version 3.3.3 is missing the package `cbor2`. privacyIDEA ^^^^^^^^^^^^^^^^^^^^^^^^^^
won't work until the `cbor2`-package is installed in the virtual environment
. The privacyIDEA package contains dependencies with a minimal required version. H
owever, newest
To achieve a deterministic installation, you can install and pin the installed versions of dependencies are not always tested and might cause problems.
versions like this:: If you want to achieve a deterministic installation, you can now install the pin
ned and tested
export PI_VERSION=3.3.3 versions of the dependencies::
pip install -r https://raw.githubusercontent.com/privacyidea/privacyidea/v${PI
_VERSION}/requirements.txt pip install -r lib/privacyidea/requirements.txt
pip install git+https://github.com/privacyidea/privacyidea.git@v${PI_VERSION}
It would even be safer to install the pinned dependencies *before* installing pr
.. note:: ivacyIDEA.
The requirements file for version 3.3.3 pins a version of the So if you e.g. know that you are going to install version 3.6 you can run::
`cbor2` package which requires to rebuild some components. In order to
install the pinned version, the system packages `gcc` and `python-dev` must pip install -r https://raw.githubusercontent.com/privacyidea/privacyidea/v3.
be installed. 6/requirements.txt
pip install privacyidea==3.6
.. _pip_configuration: .. _pip_configuration:
Configuration Configuration
............. .............
Database Database
^^^^^^^^ ^^^^^^^^
privacyIDEA makes use of `SQLAlchemy <https://www.sqlalchemy.org>`_ to be able privacyIDEA makes use of `SQLAlchemy <https://www.sqlalchemy.org>`_ to be able
 End of changes. 1 change blocks. 
18 lines changed or deleted 19 lines changed or added

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