mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 11:44:07 +00:00
31 lines
1.2 KiB
Diff
31 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=[
|