pleiszenburg / refuse

Simple cross-plattform ctypes bindings for libfuse / FUSE for macOS / WinFsp
ISC License
60 stars 11 forks source link

fix loading winfsp DLL on Windows #29

Open cdanis opened 4 years ago

cdanis commented 4 years ago

This is now against develop instead of master, sorry about that.

cdanis commented 4 years ago

@s-m-e do you think you'll have a chance to look at this soon?

clach04 commented 4 years ago

@cdanis I'm curious how you are testing this? I ended up with https://github.com/pleiszenburg/refuse/pull/31 from my few mins of testing seems to work.

cdanis commented 4 years ago

@cdanis I'm curious how you are testing this? I ended up with #31 from my few mins of testing seems to work.

I did a pip install emojifs on a Windows venv and then applied the diff within the venv 😃

cdanis commented 3 years ago

Hi @s-m-e -- I'd really like to release a Windows version of emojifs, and I would hate to needlessly fork your fork. Could you please merge this PR, or leave me a comment indicating what you'd like fixed? (Or maybe @N-Coder has commit permissions?)

N-Coder commented 3 years ago

Or maybe @N-Coder has commit permissions?

Unfortunately, no. Maybe you can reach s-m-e via his e-mail address. Alternatively, you could do the same as I did while waiting for fusepy to get a new release with some bugfixes, just copy the dependency's code over to your project and comment out the dependency declaration in setup.py (effectively bundling/"vendoring" the patched dependency) until there is a new release.

YoilyL commented 2 years ago

Alternatively, you could do the same as I did while waiting for fusepy to get a new release with some bugfixes, just copy the dependency's code over to your project and comment out the dependency declaration in setup.py (effectively bundling/"vendoring" the patched dependency) until there is a new release.

or you could monkey patch the module by injecting the sys module into the _refactor locals before importing refuse.high

import sys
from refuse import _refactor
_refactor.sys = sys
from refuse.high import FUSE