The README and setup.py were adapted to the current state, preparing for PyPI upload and package info. In v9, the header received an additional .json property, which exports the header as a dict to allow JSON serialization in the export file. This export is used in main.py
28 lines
802 B
Python
28 lines
802 B
Python
#!/usr/bin/env python3
|
|
|
|
from setuptools import setup
|
|
|
|
with open("README.md", "r") as fh:
|
|
long_description = fh.read()
|
|
|
|
setup(
|
|
name='netflow',
|
|
version='0.8.2',
|
|
description='NetFlow v1, v5, and v9 tool suite implemented in Python 3.',
|
|
long_description=long_description,
|
|
long_description_content_type='text/markdown',
|
|
author='Dominik Pataky',
|
|
author_email='dev@bitkeks.eu',
|
|
url='https://github.com/bitkeks/python-netflow-v9-softflowd',
|
|
packages=["netflow"],
|
|
license='MIT',
|
|
python_requires='>=3',
|
|
keywords='netflow collector parser',
|
|
classifiers=[
|
|
"Programming Language :: Python :: 3",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Intended Audience :: Developers",
|
|
"Intended Audience :: System Administrators"
|
|
],
|
|
)
|