-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace _librsynccmodule.c
by python code
#207
Comments
Something I did not tought about yet is how to redistribute librscync binaries. For non-unix platform, we may need to include it in the wheel packages. |
Why should this be a priority? The librsync library can be compiled for ARM and is packaged for (at least) Debian on ARM: https://packages.debian.org/search?keywords=librsync so I guess that it shouldn't be such a challenge to compile the C and _librsync modules for the same platform(s). |
Because I find it very painful to compile rdiff-backup on all the available platform on the market. It adds complexity to the redistribution of the rdiff-backup. Just for Unix like operating system, there are too many flavor I can't count them. Then we have Linux flavors on x86 and ARMv7. Windows 32bits and 64bits. |
The first question if it's really something to do just shortly before releasing 2.0.0, as we've started the beta program. My answer is that it should be done after, and we should focus on the release and getting what we have now into PyPI. Then, talking about the thing itself:
|
Perhaps we could make "pylibrsync" an external library, which would only need to be published and packaged when there is a new version of librsync. This would be the only part which would need to be compiled, once we've got rid of the "cmodule" as well, which sounds more realistic (but other discussion in #67). Perhaps we could even co-maintain these Python-bindings for librsrync with @dbaarda, and profit from his C-experience? rdiff-backup itself wouldn't any more need any compilation, only pylibrsync. |
I'd be fine with including/supporting a Python wrapper for librsync in librsync itself. The packaging etc for this would need to be worked out, but it seems like a reasonable idea to me. |
Link ti #67 |
I'm creating this task to start a discussion around how to mitigate the "C" extension dependecies in rdiff-backup. The goal is to run rdiff-backup on any platform supported by python. My immediate goal is support ARMv7 architecture.
Here a couple of solutions:
Comments ?
I'm looking to implement the CFFI thin layer.
The text was updated successfully, but these errors were encountered: