Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix SetuptoolsDeprecationWarning in setup.py #529

Open
mwydmuch opened this issue Jan 8, 2023 · 0 comments
Open

Fix SetuptoolsDeprecationWarning in setup.py #529

mwydmuch opened this issue Jan 8, 2023 · 0 comments

Comments

@mwydmuch
Copy link
Member

mwydmuch commented Jan 8, 2023

New versions of setuptools warns about:

SetuptoolsDeprecationWarning:     Installing 'vizdoom.gym_wrapper' as data is deprecated, please list it in `packages`.
    !!


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

    'vizdoom.gym_wrapper' 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 'vizdoom.gym_wrapper' 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.


!!

  check.warn(importable)
E:\Python37\lib\site-packages\setuptools\command\build_py.py:202: SetuptoolsDeprecationWarning:     Installing 'vizdoom.scenarios' as data is deprecated, please list it in `packages`.
    !!


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

    'vizdoom.scenarios' 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 'vizdoom.scenarios' 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.


!!
@mwydmuch mwydmuch added this to the 1.1.15 milestone Jan 8, 2023
@mwydmuch mwydmuch modified the milestones: 1.2.0, 1.2.X Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant