-from setuptools import setup
+import setuptools
from os import path
# Import main module so we can set the version
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
-setup(
+setuptools.setup(
name='logparse', # https://packaging.python.org/specifications/core-metadata/#name
version=logparse.__version__, # https://www.python.org/dev/peps/pep-0440/ https://packaging.python.org/en/latest/single_source_version.html
description='Summarise server logs',
keywords='logparse log parse analysis summary monitor email server',
packages=['logparse', 'logparse.parsers'],
python_requires='>=3', # https://packaging.python.org/guides/distributing-packages-using-setuptools/#python-requires
- install_requires=['premailer', 'requests', 'tabulate'], # https://packaging.python.org/en/latest/requirements.html
+ install_requires=['premailer', 'requests', 'tabulate', 'sensors.py', 'systemd-python'], # https://packaging.python.org/en/latest/requirements.html
data_files=[('/etc/logparse', ['logparse.conf', 'header.html', 'main.css']), ('man/man8', ['doc/build/man/logparse.8'])],
project_urls={
'Readme': 'https://git.lorimer.id.au/logparse.git/about',