2c76a4cb41
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
30 lines
1.2 KiB
Diff
30 lines
1.2 KiB
Diff
diff --git a/tools/pythonpkg/setup.py b/tools/pythonpkg/setup.py
|
|
index 30f1e1ccdd..6784169fcb 100644
|
|
--- a/tools/pythonpkg/setup.py
|
|
+++ b/tools/pythonpkg/setup.py
|
|
@@ -96,7 +96,7 @@ def parallel_cpp_compile(
|
|
return
|
|
self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
|
|
|
|
- list(multiprocessing.pool.ThreadPool(multiprocessing.cpu_count()).imap(_single_compile, objects))
|
|
+ list(multiprocessing.pool.ThreadPool(@NIX_BUILD_CORES@).imap(_single_compile, objects))
|
|
return objects
|
|
|
|
|
|
@@ -163,7 +163,6 @@ if 'BUILD_HTTPFS' in os.environ:
|
|
for ext in extensions:
|
|
toolchain_args.extend(['-DDUCKDB_EXTENSION_{}_LINKED'.format(ext.upper())])
|
|
|
|
-toolchain_args.extend(['-DDUCKDB_EXTENSION_AUTOLOAD_DEFAULT=1', '-DDUCKDB_EXTENSION_AUTOINSTALL_DEFAULT=1'])
|
|
|
|
|
|
class get_pybind_include(object):
|
|
@@ -348,7 +347,7 @@ setup(
|
|
packages=packages,
|
|
include_package_data=True,
|
|
python_requires='>=3.7.0',
|
|
- setup_requires=setup_requires + ["setuptools_scm<7.0.0", 'pybind11>=2.6.0'],
|
|
+ setup_requires=setup_requires + ["setuptools_scm", 'pybind11>=2.6.0'],
|
|
use_scm_version=setuptools_scm_conf,
|
|
tests_require=['google-cloud-storage', 'mypy', 'pytest'],
|
|
classifiers=[
|