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).
This commit is contained in:
@@ -16,6 +16,8 @@ buildPythonPackage rec {
|
||||
hash = "sha256-v3KD8dUXdkzNyBlbIWMdu6wcUGuSC/mo6ilWsxJ2Ucs=";
|
||||
};
|
||||
|
||||
patches = [ ./fix-packaging.patch ];
|
||||
|
||||
buildInputs = [
|
||||
CoreFoundation
|
||||
CoreServices
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
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',
|
||||
Reference in New Issue
Block a user