How to use the cysystemd.__name__ function in cysystemd

To help you get started, we’ve selected a few cysystemd examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github mosquito / cysystemd / setup.py View on Github external
"cysystemd._journal",
            ["cysystemd/_journal.c"],
            libraries=["systemd"],
            extra_compile_args=["-DSYSLOG_NAMES=1",],
        ),
        Extension(
            "cysystemd.reader",
            ["cysystemd/reader.c"],
            libraries=["systemd"],
            extra_compile_args=["-DSYSLOG_NAMES=1",],
        ),
    ]


setup(
    name=module.__name__,
    ext_modules=extensions,
    version=module.__version__,
    packages=["cysystemd",],
    license=module.license,
    description=module.package_info,
    long_description=open("README.rst").read(),
    platforms=["POSIX"],
    url="http://github.com/mosquito/cysystemd",
    author=module.__author__,
    author_email=module.author_email,
    provides=["systemd"],
    build_requires=["cython"],
    keywords=["systemd", "python", "daemon", "sd_notify", "cython"],
    classifiers=[
        "Development Status :: 4 - Beta",
        "Environment :: Console",