|
@@ -143,17 +143,12 @@ cmdclass = {
|
|
|
ext_modules = []
|
|
|
if not on_rtd:
|
|
|
compress_ext_kwargs = dict(sources=[compress_source])
|
|
|
- compress_ext_kwargs = setup_lz4.lz4_ext_kwargs(bundled_path='src/borg/algorithms/lz4',
|
|
|
- prefer_system=prefer_system_liblz4,
|
|
|
- **compress_ext_kwargs)
|
|
|
- compress_ext_kwargs = setup_zstd.zstd_ext_kwargs(bundled_path='src/borg/algorithms/zstd',
|
|
|
- prefer_system=prefer_system_libzstd,
|
|
|
+ compress_ext_kwargs = setup_lz4.lz4_ext_kwargs(prefer_system_liblz4, **compress_ext_kwargs)
|
|
|
+ compress_ext_kwargs = setup_zstd.zstd_ext_kwargs(prefer_system_libzstd,
|
|
|
multithreaded=False, legacy=False, **compress_ext_kwargs)
|
|
|
crypto_ext_kwargs = dict(sources=[crypto_ll_source, crypto_helpers])
|
|
|
crypto_ext_kwargs = setup_crypto.crypto_ext_kwargs(**crypto_ext_kwargs)
|
|
|
- crypto_ext_kwargs = setup_b2.b2_ext_kwargs(bundled_path='src/borg/algorithms/blake2',
|
|
|
- prefer_system=prefer_system_libb2,
|
|
|
- **crypto_ext_kwargs)
|
|
|
+ crypto_ext_kwargs = setup_b2.b2_ext_kwargs(prefer_system_libb2, **crypto_ext_kwargs)
|
|
|
ext_modules += [
|
|
|
Extension('borg.compress', **compress_ext_kwargs),
|
|
|
Extension('borg.crypto.low_level', **crypto_ext_kwargs),
|