File: install.rst

package info (click to toggle)
pyudev 0.21.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 716 kB
  • ctags: 870
  • sloc: python: 4,122; makefile: 16
file content (49 lines) | stat: -rw-r--r-- 1,327 bytes parent folder | download | duplicates (4)
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
Installation
============

Python versions and implementations
-----------------------------------

pyudev supports CPython from 2.6 up to the latest Python 3 release, and PyPy
1.5. Jython may work, too, but is not tested. Generally any Python
implementation compatible with CPython 2.6 should work.


Dependencies
------------

pyudev needs libudev 151 and newer, earlier versions of libudev as found on
dated Linux systems may work, but are not tested and not officially supported.
It is written in pure Python based on :mod:`ctypes`, so no compilers or headers
are required for installation.

To use any of the toolkit integration modules. the corresponding toolkit must be
available, but no toolkit is required during installation.


Installation from Cheeseshop
----------------------------

Install pyudev from the Cheeseshop_ with pip_::

   pip install pyudev


Installation from source code
-----------------------------

Close the public repository::

   git clone https://github.com/lunaryorn/pyudev.git

Or download `tarball <https://github.com/lunaryorn/pyudev/tarball/master>`_::

   curl -OL https://github.com/lunaryorn/pyudev/tarball/master

Then install pyudev from the source code tree::

   python setup.py install


.. _Cheeseshop: http://pypi.python.org/pypi/pyudev
.. _pip: http://www.pip-installer.org/