blob: e46833179bb1e0cb61c4e2ec1865bda4e37cf969 (
plain)
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
|
======================
How to install netaddr
======================
netaddr is available in various formats :
- source code repository
- source distribution packages (tarball and zip formats)
- Python universal wheel packages
Various Linux distributions make it available via their package managers.
---------------------
Locating the software
---------------------
The netaddr project is hosted here on github
https://github.com/drkjam/netaddr/
----------------------------------------
Installing from the Python Package Index
----------------------------------------
The easiest way to install netaddr is to use pip.
Download and install the latest version from PyPI -
https://pypi.org/project/pip and run the following command ::
pip install netaddr
--------------------------------
Installing from a source package
--------------------------------
Download the latest release tarball/zip file and extract it to a temporary
directory or clone the repository into a local working directory.
Run the setup file from directory::
python setup.py install
This automatically places the required files in the ``lib/site-packages``
directory of the Python version you used to run the setup script, may
also be part of a virtualenv or similar environment manager.
|