[pybsddb] Windows support for berkeleydb
Brian Matthews
Brian.Matthews at vaisala.com
Tue Nov 26 20:16:26 CET 2024
Hi,
Patch file for git attached.
To build:
Copy the Oracle Berkeley db to ./db in the root of 18.1.11
I am using Python 3.12 built with VS2019
set YES_I_HAVE_THE_RIGHT_TO_USE_THIS_BERKELEY_DB_VERSION=1
python setup.py build
The diff contains changes for building (setup3.py)
It also contains a change for src/Module/berkeleydb.c
This changes allow the encryption password to be either a string, or a byte string.
Bsddb3 used to allow binary keys. This restores that ability.
Regards
Brian
-----Original Message-----
From: pybsddb <pybsddb-bounces at jcea.es> On Behalf Of Jesus Cea
Sent: Thursday, November 21, 2024 2:08 PM
To: pybsddb at jcea.es
Subject: Re: [pybsddb] Windows support for berkeleydb
[You don't often get email from jcea at jcea.es. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
On 21/11/24 5:45, Brian Matthews wrote:
> Yes I can help with that. I did make some changes to setup3.py to
> get it to build with Python 3.12.5 and Oracle BDB 18.1.40 using VS2019
>
> So I have it installed and running right now.
>
> Let me know what you need from me
Send me your patch, and maybe some instructions for other people being able to replicate it.
In fact, if you compile it under Python 3.9, that binary SHOULD work in any future Python version!. Would you mind to post it somewhere public?.
With a bit of work we could provide wheels for PyPI...
The key point is that I would be graceful to support Windows, but I would need to be able to provide binaries, maybe thru some external help or a Windows build service...
--
Jesús Cea Avión _/_/ _/_/_/ _/_/_/
jcea at jcea.es - https://www.jcea.es/ _/_/ _/_/ _/_/ _/_/ _/_/
Twitter: @jcea _/_/ _/_/ _/_/_/_/_/
jabber / xmpp:jcea at jabber.org _/_/ _/_/ _/_/ _/_/ _/_/
"Things are not so easy" _/_/ _/_/ _/_/ _/_/ _/_/ _/_/
"My name is Dump, Core Dump" _/_/_/ _/_/_/ _/_/ _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz _______________________________________________
pybsddb mailing list
pybsddb at jcea.es
https://mailman.jcea.es/listinfo/pybsddb
http://www.jcea.es/programacion/pybsddb.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: windows.patch
Type: application/octet-stream
Size: 7340 bytes
Desc: windows.patch
URL: <https://mailman.jcea.es/pipermail/pybsddb/attachments/20241126/7de74f6d/attachment.obj>
More information about the pybsddb
mailing list