guru/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch
Takuya Wakazono efa770e79c
dev-python/langdetect: enable py3.12
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
2024-01-25 20:18:06 +09:00

14 lines
525 B
Diff

Fix "Package 'langdetect.profiles' is absent from the `packages` configuration."
--- a/setup.py
+++ b/setup.py
@@ -18,7 +18,7 @@ setup(
author_email='michal.danilak@gmail.com',
url='https://github.com/Mimino666/langdetect',
keywords='language detection library',
- packages=['langdetect', 'langdetect.utils', 'langdetect.tests'],
+ packages=['langdetect', 'langdetect.utils', 'langdetect.tests', 'langdetect.profiles'],
include_package_data=True,
install_requires=['six'],
license='MIT',