File: install.rst

package info (click to toggle)
opgpcard 0.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 864 kB
  • sloc: python: 520; makefile: 19
file content (55 lines) | stat: -rw-r--r-- 1,101 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55

Installation
=============

The recommended method  is to install it from your system
distribution.

In Debian/Ubuntu systems::

    sudo apt install opgpcard

Installation for developers
---------------------------

System requirements
~~~~~~~~~~~~~~~~~~~

- Python 3 (>= 3.5)
- GPGME_
- SWIG_ (to build GPGME_)
- virtualenv_ (it is recommended to install the required python dependencies
  in a virtualenv)

In Debian::

    sudo apt install python3 swig libgpgme-dev virtualenv

Python dependencies
~~~~~~~~~~~~~~~~~~~

- qrcode_
- lxml_
- gpg_

To install the Python dependencies, create a ``virtualenv`` first

::

    virtualenv venv -p /usr/bin/python3
    source venv/bin/activate

Clone ``opgpcard``::

    git clone https://github.com/juga0/opgpcard.git

Install the python dependencies::

    cd opgpcard && pip install .

.. _SWIG: http://swig.org/
.. _GPGME: https://www.gnupg.org/related_software/gpgme/
.. _virtualenv: https://virtualenv.pypa.io/en/stable/installation/
.. _qrcode: https://pypi.python.org/pypi/qrcode/
.. _lxml: https://lxml.de/
.. _gpg: https://pypi.org/project/gpg/