Skip to content

Commit 1583f6d

Browse files
committed
Add patch for blosc2
1 parent c74b455 commit 1583f6d

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
diff --git a/setup.py b/setup.py
2+
index 3a55a00..0c6f89a 100644
3+
--- a/setup.py
4+
+++ b/setup.py
5+
@@ -11,7 +11,8 @@ from skbuild import setup
6+
# Blosc version
7+
VERSION = open("VERSION").read().strip()
8+
# Create the version.py file
9+
-open("blosc2/version.py", "w").write(f'__version__ = "{VERSION}"\n')
10+
+with open("blosc2/version.py", "w") as f:
11+
+ f.write(f'__version__ = "{VERSION}"\n')
12+
13+
14+
def exclude_pkgconfig(cmake_manifest):
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[[rules]]
2+
patch = 'blosc2.patch'

0 commit comments

Comments
 (0)