WeblateOrg/wlc

Warning about test_data/* installing

ktrace opened this issue · 3 comments

Describe the issue

Installing 'wlc.test_data' as data is deprecated, please list it in packages.
Installing 'wlc.test_data.api' as data is deprecated, please list it in packages.
Installing 'wlc.test_data.mock' as data is deprecated, please list it in packages.

I already tried

  • I've read and searched the documentation.
  • I've searched for similar issues in this repository.

Steps to reproduce the behavior

  1. Try to install
  2. See warning

Expected behavior

No response

Screenshots

No response

Exception traceback

No response

Additional context

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

I fix in setup.cfg:

 [options]
-packages = wlc
-python_requires = >=3.6
+packages =
+    wlc
+    wlc.test_data
+    wlc.test_data.api
+    wlc.test_data.mock
 package_dir = wlc=wlc
-include_package_data = 1
+python_requires = >=3.6
+include_package_data = True

This issue seems to be a good fit for newbie contributors. You are welcome to contribute to Weblate! Don't hesitate to ask any questions you would have while implementing this.

You can learn about how to get started in our contributors documentation.

Fixed by e141c06

Thank you for your report; the issue you have reported has just been fixed.

  • In case you see a problem with the fix, please comment on this issue.
  • In case you see a similar problem, please open a separate issue.
  • If you are happy with the outcome, don’t hesitate to support Weblate by making a donation.