Uploaded image for project: '1D Redmine '
  1. 1D Redmine
  2. REDMINE1D-594

[RM-8917] SetuptoolsDeprecationWarning: Installing 'pylibamazed.resources' as data is deprecated

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Won't Fix (View Workflow)
    • Priority: Normal
    • Resolution: Won't Fix
    • Labels:
      None

      Description

      Created on 2024-05-17 11:39:51 by Didier Vibert. % Done: 0

      see following warning issued when installing with pip

      <pre>
      /home/dvibert/.virtualenvs/amazed/lib/python3.11/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'pylibamazed.resources' as data is deprecated, please list it in `packages`.
      !!

      ############################

      1. Package would be ignored #
        ############################
        Python recognizes 'pylibamazed.resources.test.calibration.igm' as an importable package,
        but it is not listed in the `packages` configuration of setuptools.

      'pylibamazed.resources' 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 'pylibamazed.resources' 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)

      </pre>

      and several identical ones for all the directories inside @pylibamazed.resoureces@

        Attachments

          Activity

            People

            • Assignee:
              r2j.migrate Redmine-Jira Migtation
              Reporter:
              r2j.migrate Redmine-Jira Migtation
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: