|
@@ -19,8 +19,8 @@ from .helpers import Error, location_validator, format_time, format_file_size, \
|
|
|
format_file_mode, ExcludePattern, IncludePattern, exclude_path, adjust_patterns, to_localtime, timestamp, \
|
|
|
get_cache_dir, get_keys_dir, format_timedelta, prune_within, prune_split, \
|
|
|
Manifest, remove_surrogates, update_excludes, format_archive, check_extension_modules, Statistics, \
|
|
|
- is_cachedir, bigint_to_int, ChunkerParams, CompressionSpec, detect_cython
|
|
|
-if detect_cython():
|
|
|
+ is_cachedir, bigint_to_int, ChunkerParams, CompressionSpec, have_cython
|
|
|
+if have_cython():
|
|
|
from .compress import Compressor, COMPR_BUFFER
|
|
|
from .upgrader import AtticRepositoryUpgrader
|
|
|
from .repository import Repository
|