posit-dev / py-shinyswatch

Bootswatch themes for py-shiny

Home Page:https://posit-dev.github.io/py-shinyswatch/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Calling `make dist` displays warnings

schloerke opened this issue · comments

  • ./venv/lib/python3.11/site-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
  • Many of
SetuptoolsDeprecationWarning:     Installing 'shinyswatch.bsw5.solar' as data is deprecated, please list it in `packages`.
    !!


    ############################
    # Package would be ignored #
    ############################
    Python recognizes 'shinyswatch.bsw5.solar' as an importable package,
    but it is not listed in the `packages` configuration of setuptools.

    'shinyswatch.bsw5.solar' has been automatically added to the distribution only
    because it may contain data files, but this behavior is likely to change
    in future versions of setuptools (and therefore is considered deprecated).

    Please make sure that 'shinyswatch.bsw5.solar' is included as a package by using
    the `packages` configuration field or the proper discovery methods
    (for example by using `find_namespace_packages(...)`/`find_namespace:`
    instead of `find_packages(...)`/`find:`).

    You can read more about "package discovery" and "data files" on setuptools
    documentation page.