Debian Codegraph @

INSTALL

raw
1 For Python module, it's recommended to use "pip" for the installation:
2 pip install pacparser
3 pip install pacparser==1.3.8.dev15 (specific version)
4
5 For other pre-built binaries, download them from:
6 https://github.com/manugarg/pacparser/releases
7
8 You can also download the latest binaries from the Github actions artifacts:
9 https://github.com/manugarg/pacparser/actions
10
11
12 Compile From Source:
13 ###################
14
15 On Unix-like Systems:
16 ====================
17
18 Get the latest source code from github (git) repository by following instructions at:
19 https://github.com/manugarg/pacparser
20
21 * pacparser C library and pactester:
22 ----------------------------------
23 Compiling and installing pacparser is as easy as running the following
24 commands:
25 => make -C src
26 => sudo make -C src install
27
28 * pacparser python module:
29 ------------------------------------------------
30 To compile and install pacparser python module:
31 => make -C src pymod
32 => sudo make -C src install-pymod
33
34 If it failed while running runtests.py like this;
35 ```
36 File "../tests/runtests.py", line 79, in runtests
37 raise Exception('Tests failed. Got "%s", expected "%s"' % (result, expected_result))
38 Exception: Tests failed. Got "END-OF-SCRIPT", expected "isResolvable"
39 ```
40 Please set an environment variable NO_INTERNET. Then it won't require internet and pass the test.
41 ```
42 $ export NO_INTERNET=1 && make -C src install-pymod
43 ```
44
45 On Win-32 Systems:
46 =================
47 Compiling pacparser for Windows is a rather involved process and is documented
48 in detail in README.win32 file included with this package.