alchemistry / alchemtest

the simple alchemistry test set
https://alchemtest.readthedocs.io
BSD 3-Clause "New" or "Revised" License
8 stars 12 forks source link

packaging of datafiles triggers deprecation warning #81

Open orbeckst opened 2 years ago

orbeckst commented 2 years ago

Need to look into the following warning for most of our content; there are many more like the one below when the new deploy action is run:

SetuptoolsDeprecationWarning:     Installing 'alchemtest.amber.bace_improper' as data is deprecated, please list it in `packages`.
    !!

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

    'alchemtest.amber.bace_improper' 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 'alchemtest.amber.bace_improper' 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.
orbeckst commented 2 months ago

check if this issue is still relevant with the move to pyproject.toml-based builds