You can build from source with: $ python setup.py buildĪnd then run a Python shell with unrar available: $ PYTHONPATH=`pwd`/build/lib python If you prefer not to install the library, you should make it "findable" by adding the library file to a directory where libraries are searched (or change required environment variable).Īs an alternative, you can also set UNRAR_LIB_PATH variable in your environment to the library path and python-unrar will try to load the UnRAR library from there. You can download UnRAR library sources from: Īnd compile (you may need to rename the makefile that you want to use according to your OS) and install it from there: $ make libįor Windows you can also download the already compiled library ( ). Work with RAR archive files through unrar library using ctypes.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |