Commit 06c74dc0 authored by Peter Kling's avatar Peter Kling
Browse files

python312Packages.jaconv: do not include unnecessary files

`data_files` installs into Python's installation prefix (not into the directory of the python module), potentially causing collisions if other packages do the same (with such general files).
parent 5168db40
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -21,7 +21,10 @@ buildPythonPackage rec {
    hash = "sha256-9ruhOLaYNESeKOwJs3IN6ct66fSq7My9DOyA7/cH3d0=";
  };

  patches = [ ./use-pytest.patch ];
  patches = [
    ./fix-packaging.patch
    ./use-pytest.patch
  ];

  build-system = [ setuptools ];

+12 −0
Original line number Diff line number Diff line
diff --git a/setup.py b/setup.py
index 297357b..12b861f 100644
--- a/setup.py
+++ b/setup.py
@@ -39,7 +42,6 @@
           'Programming Language :: Python :: 3.10',
           'Programming Language :: Python :: 3.11', 'Topic :: Text Processing'
       ],
-      data_files=[('', ['README.rst', 'CHANGES.rst'])],
       long_description='%s\n\n%s' %
       (open('README.rst', encoding='utf8').read(),
        open('CHANGES.rst', encoding='utf8').read()),