"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "INSTALL" between
pacparser-1.3.8.tar.gz and pacparser-1.3.9.tar.gz

About: pacparser is a library to parse Proxy Auto-Config (PAC) files (incl. a pactester).

INSTALL  (pacparser-1.3.8):INSTALL  (pacparser-1.3.9)
On Unix-like Systems: For Python module, it's recommended to use "pip" for the installation:
#################### pip install pacparser
pip install pacparser==1.3.8.dev15 (specific version)
For other pre-built binaries, download them from:
https://github.com/manugarg/pacparser/releases
You can also download the latest binaries from the Github actions artifacts:
https://github.com/manugarg/pacparser/actions
You can download latest pacparser source code tarball from: Compile From Source:
https://github.com/pacparser/pacparser/releases ###################
You can also get the latest source code from github (git) repository by On Unix-like Systems:
following instructions at: ====================
https://github.com/pacparser/pacparser
Get the latest source code from github (git) repository by following instruction
s at:
https://github.com/manugarg/pacparser
* pacparser C library and pactester: * pacparser C library and pactester:
---------------------------------- ----------------------------------
Compiling and installing pacparser is as easy as running the following Compiling and installing pacparser is as easy as running the following
commands: commands:
=> make -C src => make -C src
=> sudo make -C src install => sudo make -C src install
* pacparser python module: * pacparser python module:
------------------------------------------------ ------------------------------------------------
To compile and install pacparser python module: To compile and install pacparser python module:
=> make -C src pymod => make -C src pymod
=> sudo make -C src install-pymod => sudo make -C src install-pymod
If it failed with runtests.py when building on non interconnected hosts like t his; If it failed while running runtests.py like this;
``` ```
File "../tests/runtests.py", line 79, in runtests File "../tests/runtests.py", line 79, in runtests
raise Exception('Tests failed. Got "%s", expected "%s"' % (result, expected_ result)) raise Exception('Tests failed. Got "%s", expected "%s"' % (result, expected_ result))
Exception: Tests failed. Got "END-OF-SCRIPT", expected "isResolvable" Exception: Tests failed. Got "END-OF-SCRIPT", expected "isResolvable"
``` ```
Please set an environment variable NO_INTERNET. Then it won't require internet and pass the test. Please set an environment variable NO_INTERNET. Then it won't require internet and pass the test.
``` ```
$ export NO_INTERNET=1 && make -C src install-pymod $ export NO_INTERNET=1 && make -C src install-pymod
``` ```
On Win-32 Systems: On Win-32 Systems:
################# =================
Binary Distribution:
===================
Compiled packages for win32 systems can be downloaded from:
https://github.com/pacparser/pacparser/releases
* C Library and pactester:
-----------------------
To install pacparser C library and pactester, download package
"pacparser-v.v.v-win32.zip" and extract it somewhere on your machine. It will
create a directory - "pacparser-v.v.v". Copy pacparser.dll and pactester.exe
binaries to somewhere on the system where system can find them (e.g. to the
directories that are already in system path like C:\Windows) or simply add
pacparser directory to the system path.
You'll need pacparser.lib to link in pacparser on Visual Studio/C++. On mingw,
you can directly link with pacparser.dll. Here are the detailed instructions to
link in pacparser on Visual Studio:
http://code.google.com/p/pacparser/wiki/LinkingOnVisualStudio.
* Python Module
-------------
To install pacparser python module (available only for Python 2.7 right now),
download package pacparser-python27-v.v.v-win32.zip and extract it somewhere
on your system. To install the module in your PYTHONPATH, simply run install.py
that comes with the compiled binaries.
If it fails for some reason, simply copy "pacparser" sub-directory to
C:\Python27\Lib\site-packages\ and you are done.
Compiling from Source Code:
==========================
Compiling pacparser for Windows is a rather involved process and is documented Compiling pacparser for Windows is a rather involved process and is documented
in detail in README.win32 file included with this package. in detail in README.win32 file included with this package.
 End of changes. 5 change blocks. 
43 lines changed or deleted 19 lines changed or added

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