Package Details: python-notify-py 0.3.43-1

Git Clone URL: https://aur.archlinux.org/python-notify-py.git (read-only, click to copy)
Package Base: python-notify-py
Description: Cross platform desktop notifications for Python scripts and applications
Upstream URL: https://github.com/ms7m/notify-py
Licenses: MIT
Submitter: Miller.EC
Maintainer: FabioLolix
Last Packager: FabioLolix
Votes: 0
Popularity: 0.000000
First Submitted: 2022-04-27 10:30 (UTC)
Last Updated: 2024-11-04 22:01 (UTC)

Latest Comments

dreieck commented on 2023-12-18 13:13 (UTC)

You need to switch away from using setup.py directly, but use python -m build and python -m installer together with the appropriate makedepends; the the Arch Linux wiki about it:

/usr/lib/python3.11/site-packages/setuptools/command/build_py.py:207: _Warning: Package 'notifypy.os_notifiers.binaries' is absent from the `packages` configuration.
!!

        ********************************************************************************
        ############################
        # Package would be ignored #
        ############################
        Python recognizes 'notifypy.os_notifiers.binaries' as an importable package[^1],
        but it is absent from setuptools' `packages` configuration.

        This leads to an ambiguous overall configuration. If you want to distribute this
        package, please make sure that 'notifypy.os_notifiers.binaries' is explicitly added
        to the `packages` configuration field.

        Alternatively, you can also rely on setuptools' discovery methods
        (for example by using `find_namespace_packages(...)`/`find_namespace:`
        instead of `find_packages(...)`/`find:`).

        You can read more about "package discovery" on setuptools documentation page:

        - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

        If you don't want 'notifypy.os_notifiers.binaries' to be distributed and are
        already explicitly excluding 'notifypy.os_notifiers.binaries' via
        `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
        you can try to use `exclude_package_data`, or `include-package-data=False` in
        combination with a more fine grained `package-data` configuration.

        You can read more about "package data files" on setuptools documentation page:

        - https://setuptools.pypa.io/en/latest/userguide/datafiles.html


        [^1]: For Python, any directory (with suitable naming) can be imported,
              even if it does not contain any `.py` files.
              On the other hand, currently there is no concept of package data
              directory, all directories are treated like packages.
        ********************************************************************************

!!
  check.warn(importable)
running install
/usr/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` directly.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.

        See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
        ********************************************************************************

!!
  self.initialize_options()

Regards and thanks for maintaining!