dev-python/daff: fix setuptools warnings

setup.py imports build_py from distutils and still lists the deprecated License
classifier, so setuptools warns about both and the install leaves a QA notice. Import
build_py from setuptools and drop the classifier; LICENSE already states MIT.

Signed-off-by: Zakk <zakk@gentoozh.org>
This commit is contained in:
Zakk committed 2026-10-21 13:02:26 +11:00
1 parent 0785e444d8
commit d2799bd05f
2 files changed
+25

No files matched your search

@@ -0,0 +1,21 @@
--- a/setup.py
+++ b/setup.py
@@ -2,7 +2,7 @@
import os
from setuptools import setup
-from distutils.command.build_py import build_py
+from setuptools.command.build_py import build_py
from subprocess import call
import json
import os.path
@@ -44,8 +44,7 @@
long_description_content_type='text/markdown',
classifiers=[
"Development Status :: 3 - Alpha",
- "Topic :: Utilities",
- "License :: OSI Approved :: MIT License"
+ "Topic :: Utilities"
],
cmdclass={'build_py': my_build_py}
)