-
Notifications
You must be signed in to change notification settings - Fork 490
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
PyPI package for ledger.so #1934
Comments
I think it would be interesting if that's possible. |
@aparkerlue I'm familiarizing myself the the PyPI eco-system in order to be able to provide what you suggest. Prior to that it will be very helpful to have a Python Package with a (binary) core Ledger Module. I'm still roughing things out on this and am at this point uncertain when a PR will be available for tests. |
Sounds good. Please let me know how I can help. |
Thanks for the offer, @aparkerlue. Do you happen to have expertise in building Python Packages with binary Python Modules by any chance? I'm looking into building a Python wheel using scikit-build-core, scikit-build, cibuildwheel, or other means. For Ledger this means dealing with Boost, Boost Python, and the required dependencies mpfr and gmp as well. Currently I have a nix flakes based development setup to work on the scikit-build-core based build pyproject.toml to create an installable Python wheel using pipx. |
I've made significant progress today and am able to build Ledger as a Python wheel and install that into a venv locally on my workstation. There is still a lot of work to do, especially re-organizing the Python side of things in order to provide a Python Package offering backwards compatibility. |
I have experience building Python packages, but not so much ones with
binary modules.
I can give it a try. Do you have a fork or branch you could share?
On Tue, Apr 18, 2023 at 10:32 Alexis Hildebrandt ***@***.***> wrote:
I've made significant progress today and am able to build Ledger as a
Python wheel and install that into a venv locally on my workstation. There
is still a lot of work to do, especially re-organizing the Python side of
things in order to provide a Python Package offering backwards
compatibility.
—
Reply to this email directly, view it on GitHub
<#1934 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAUQEIBOVA3EIQJZBJL2GDXB3F4LANCNFSM4OECE6IQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Alan Parker Lue
|
I should have something to share in the coming days, @aparkerlue. Out of curiosity: What is your operating system and python version of choice? And which other operating systems and hardware architecture do you possibly have access to to help out testing? I'm currently developing on macOS using nixpkgs and have access to OpenBSD. |
I generally use Debian testing on x86-64 with Python 3.11. I also have
access to macOS on an Intel Mac.
…On Wed, Apr 19, 2023 at 1:28 PM Alexis Hildebrandt ***@***.***> wrote:
I should have something to share in the coming days, @aparkerlue
<https://github.com/aparkerlue>. Out of curiosity: What is your operating
system and python version of choice? And which other operating systems and
hardware architecture do you possibly have access to to help out testing?
I'm currently developing on macOS using nixpkgs and have access to OpenBSD.
—
Reply to this email directly, view it on GitHub
<#1934 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAUQENMDNKIMHTF5GPNQHDXCBDIDANCNFSM4OECE6IQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Alan Parker Lue
+1 (310) 254–5425
|
@aparkerlue that's very helpful, thanks! #2246 is a draft PR (based on afh/ledger@pypi) with which you should be able to test. |
It would be useful to have a PyPI package that provides
ledger.so
so that Python packages thatimport ledger
could express a dependency on it. Is there currently a PyPI package for obtainingledger.so
?If not, is there any interest in including the machinery for such a package in the Ledger codebase?
The text was updated successfully, but these errors were encountered: