GUI editor to tame mod_security rules

⌈⌋ ⎇ branch:  modseccfg


Artifact [d89bf81ba2]

Artifact d89bf81ba21c44b65fd14d40b2bb01a4c4c82e0d6510fe3fd2753920afe43aa8:

  • Executable file logfmt1/setup.py — part of check-in [6a4153d11f] at 2021-01-12 22:50:29 on branch trunk — Updated man pages for logfmt1 (user: mario size: 904)

#!/usr/bin/env python3
# encoding: utf-8
# api: pip
# type: build
# title: config for setuptools
#
# Notably the .deb will install as just dist-packages/logfmt1.py.
# Whereas the .whl creates a logfmt1/__init__.py wrapper and
# directory structure.
# - share/ files shouldn't really reside within the pkg.
#

from pluginconf.setup import setup
from glob import glob

setup(
    fn="./logfmt1.py",
    long_description="@README.rst",
    package_dir={"logfmt1": "./"},
    packages=["logfmt1"],
    # data_files=[("man/man1", glob("manpage/*.1")), ("man/man5", glob("manpage/*.5"))], # in pluginconf.setup now
    package_data={
        "logfmt1": [
           "./share/*",
           "./share/update/*"
        ],
    },
    #data_files=[],
    entry_points={
        "console_scripts": [
            "logex=logfmt1.logex:main",
            "update-logfmt=logfmt1.update_logfmt:main",
        ]
    }
)