Commit 8f2084a6 authored by Peter Kling's avatar Peter Kling
Browse files

python312Packages.macfsevents: 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 06c74dc0
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -16,6 +16,8 @@ buildPythonPackage rec {
    hash = "sha256-v3KD8dUXdkzNyBlbIWMdu6wcUGuSC/mo6ilWsxJ2Ucs=";
  };

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

  buildInputs = [
    CoreFoundation
    CoreServices
+16 −0
Original line number Diff line number Diff line
diff --git a/setup.py b/setup.py
index d7f9bb0..7707e38 100644
--- a/setup.py
+++ b/setup.py
@@ -21,11 +21,6 @@ def read(fname):
       description = "Thread-based interface to file system observation primitives.",
       long_description = "\n\n".join((read('README.rst'), read('CHANGES.rst'))),
       license = "BSD",
-      data_files = [("", [
-          "compat.h",
-          "LICENSE.txt",
-          "CHANGES.rst"
-      ])],
       author = "Malthe Borch",
       author_email = "mborch@gmail.com",
       url = 'https://github.com/malthe/macfsevents',