1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- import pathlib
- import setuptools
- _REPO_URL = "https://github.com/fphammerle/systemctl-mqtt"
- setuptools.setup(
- name="systemctl-mqtt",
- use_scm_version={
-
-
- "git_describe_command": "git describe --dirty --tags --long --match v*",
- },
- packages=setuptools.find_packages(),
- description="MQTT client triggering shutdown on systemd-based systems",
- long_description=pathlib.Path(__file__).parent.joinpath("README.md").read_text(),
- long_description_content_type="text/markdown",
- author="Fabian Peter Hammerle",
- author_email="fabian@hammerle.me",
- url=_REPO_URL,
- project_urls={"Changelog": _REPO_URL + "/blob/master/CHANGELOG.md"},
- license="GPLv3+",
- keywords=[
- "IoT",
- "automation",
- "home-assistant",
- "home-automation",
- "mqtt",
- "shutdown",
- "systemd",
- ],
- classifiers=[
-
- "Development Status :: 2 - Pre-Alpha",
- "Intended Audience :: End Users/Desktop",
- "Intended Audience :: System Administrators",
- "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
- "Operating System :: POSIX :: Linux",
-
- "Programming Language :: Python :: 3.5",
- "Programming Language :: Python :: 3.6",
- "Programming Language :: Python :: 3.7",
- "Programming Language :: Python :: 3.8",
- "Topic :: Home Automation",
- ],
- entry_points={"console_scripts": ["systemctl-mqtt = systemctl_mqtt:_main",]},
-
- install_requires=["dbus-python<2", "paho-mqtt<2"],
- setup_requires=["setuptools_scm"],
- tests_require=["pytest"],
- )
|