If you do not use a binary release of Nagstamon, the following requirements have to be fulfilled:
- Python >= 3.4, available at https://www.python.org/downloads/
- Several Python modules available via PIP:
- beautifulsoup4 – http://www.crummy.com/software/BeautifulSoup/
- keyring – https://github.com/jaraco/keyring
- lxml – http://lxml.de/
- psutil – https://github.com/giampaolo/psutil
- pypiwin32 – https://pypi.python.org/pypi/pypiwin32
- PyQt5 >= 5.5 – https://riverbankcomputing.com/software/pyqt/
- requests – http://docs.python-requests.org/en/latest/
- requests-kerberos – https://github.com/requests/requests-kerberos
All of these are included in any Linux distribution – no PIP required.
For creation of binary packages one might need to install the typical packaging utilities of the choosen distribution to use the included build.py script.
If you want to run Nagstamon from sources on Windows, you have to run this PIP command after installing Python. Note that even if there is a newer version right now only PyQt5 5.9.2 works as expected – the same applies to keyring where latest versions do not work when compiled with pyinstaller:
C:\python36\scripts\pip install PyQt5==5.9.2 requests requests-kerberos beautifulsoup4 keyring=10.5.1 lxml psutil pypiwin32
If you want to create binary packages with the distributed build.py script, you also need
PyInstaller lastest development version which is known to work with Python 3.6 is needed so this one has to be pulled py pip:
C:\python36\scripts\pip install pyinstaller
Best experiences are being made with Python 3 and PyQt5 from Homebrew at https://brew.sh. After installing both packages the other dependencies might be retrieved via PIP:
# brew install python3 pyqt5 qt5 # pip3 install beautifulsoup4 keyring lxml psutil requests requests-kerberos setuptools
For binary packages made by the included build.py script you will need PyInstaller too.
# pip3 install pyinstaller