wbolster / plyvel

Plyvel, a fast and feature-rich Python interface to LevelDB
https://plyvel.readthedocs.io/
Other
530 stars 75 forks source link

How can I get the version with the max_file_size for plyvel ? #55

Closed wxcsdb88 closed 7 years ago

wxcsdb88 commented 7 years ago

I need the plyvel with the parameter max_file_size, but the plyvel 0.9 not has it. The leveldb in PyPI has been updated, now is leveldb==0.20 with max_file_size. So I want to get the plyvel with the parameter max_file_size or guide me to solve it. Thanks.

wbolster commented 7 years ago

this flag is not present in the header files on my system. i am not sure this can be added in a backwards compatible way...

wxcsdb88 commented 7 years ago

@wbolster Thanks. I have solved it. Clone the plyvel source code and add the max_file_size to plyvel._plyvel.pyx and leveldb.pxd. Now, it seems ok.