1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
Author: Andreas Tille <tille@debian.org>
Reviewed-By: Étienne Mollier <emollier@debian.org>
Last-Update: 2025-02-05
Forwarded: not-needed
Description: do not try to download various packaged components.
This change is to accommodate Debian specific build context.
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- pyfastx.orig/setup.py
+++ pyfastx/setup.py
@@ -10,7 +10,7 @@
root_dir = os.path.dirname(os.path.abspath(__file__))
sources = glob.glob(os.path.join(root_dir, 'src', '*.c'))
-link_args = []
+link_args = ['-lsqlite3']
comp_args = []
include_dirs = []
@@ -125,9 +125,9 @@
super().build_extensions()
#if not sys.platform.startswith('linux'):
-prepare_sqlite3()
-prepare_zlib()
-prepare_indexed_gzip()
+#prepare_sqlite3()
+#prepare_zlib()
+#prepare_indexed_gzip()
extension = Extension('pyfastx',
sources = sources,
|