##// END OF EJS Templates
setup: compile zstd C extension...
setup: compile zstd C extension Now that zstd and python-zstandard are vendored, we can start compiling them as part of the install. python-zstandard provides a self-contained Python function that returns a distutils.extension.Extension, so it is really easy to add zstd to our setup.py without having to worry about defining source files, include paths, etc. The function even allows specifying the module name the extension should be compiled as. This conveniently allows us to compile the module into the "mercurial" package so "our" version won't collide with a version installed under the canonical "zstd" module name.
Gregory Szorc -
r30436:788ea4ac default
Show More
Name Size Modified Last Commit Author
/ contrib / python-zstandard / c-ext
compressiondict.c Loading ...
compressionparams.c Loading ...
compressionwriter.c Loading ...
compressobj.c Loading ...
compressor.c Loading ...
compressoriterator.c Loading ...
constants.c Loading ...
decompressionwriter.c Loading ...
decompressobj.c Loading ...
decompressor.c Loading ...
decompressoriterator.c Loading ...
dictparams.c Loading ...
python-zstandard.h Loading ...