[BRLTTY] (no subject)

2024-04-03 Thread Leonard de Ruijter
___ This message was sent via the BRLTTY mailing list. To post a message, send an e-mail to: BRLTTY@brltty.app For general information, go to: http://brltty.app/mailman/listinfo/brltty

Re: [BRLTTY] Can't get brltty to build, was Re: Support multiple Python versions on Windows

2023-10-19 Thread Leonard de Ruijter
: [quoted lines by Leonard de Ruijter on 2023/10/18 at 08:40 +0200] Please remind me what this fixes. Creating windows installers has been removed from Python 3.10 and above. Thanks. My Windows build with those two PRs reverted is fine. Without creating the installer, i.e. bdist_wininst

Re: [BRLTTY] Can't get brltty to build, was Re: Support multiple Python versions on Windows

2023-10-18 Thread Leonard de Ruijter
On 19-10-2023 03:13, Dave Mielke wrote: Thanks. My Windows build with those two PRs reverted is fine. Without creating the installer, i.e. bdist_wininst -> bdist_egg, how should this line in the generated README be reworded? - Python bindings are provided by: Brlapi-${BRLAPI_RELEASE}.win32.

Re: [BRLTTY] Can't get brltty to build, was Re: Support multiple Python versions on Windows

2023-10-18 Thread Leonard de Ruijter
On 17-10-2023 21:00, Dave Mielke wrote: If you ever figure out the bdist_wheel stuff, please let me know. I think this'll eventually become rather important since building on recent Linux is now warning me that using setup.py is deprecated. Even when I use bdist_wheel, I'm getting the depreca

Re: [BRLTTY] Can't get brltty to build, was Re: Support multiple Python versions on Windows

2023-10-17 Thread Leonard de Ruijter
On 17-10-2023 21:00, Dave Mielke wrote: [quoted lines by Leonard de Ruijter on 2023/10/17 at 08:59 +0200] Here is a diff: So It's as simple as just changing "bdist_wininst" to "bdist_egg"? Please remind me what this fixes. Creating windows installers has been

Re: [BRLTTY] Can't get brltty to build, was Re: Support multiple Python versions on Windows

2023-10-16 Thread Leonard de Ruijter
On 16-10-2023 22:53, Dave Mielke wrote: In the end, I'm asking how do I convert what we're using now to bdist_egg? Here is a diff: diff --git a/Bindings/Python/Makefile.in b/Bindings/Python/Makefile.in index c5bcf62fe..3738c4c33 100644 --- a/Bindings/Python/Makefile.in +++ b/Bindings/Python/

Re: [BRLTTY] Can't get brltty to build, was Re: Support multiple Python versions on Windows

2023-10-16 Thread Leonard de Ruijter
[quoted lines by Leonard de Ruijter on 2023/10/16 at 19:52 +0200] the makefile might fail with running setup.py. You will have to change bdist_wininst into bdist_egg. The newer versions of python no longer support creating a windows installer. Is it just a matter of changing the module name

Re: [BRLTTY] Can't get brltty to build, was Re: Support multiple Python versions on Windows

2023-10-16 Thread Leonard de Ruijter
On 16-10-2023 19:19, Dave Mielke wrote: [quoted lines by Leonard de Ruijter on 2023/10/16 at 18:46 +0200] I have a working build environment now it seems, How did you resolve the missing -lucrt issue? I cheered too early. The UCRT issue is still there. so I should be able to build

Re: [BRLTTY] Can't get brltty to build, was Re: Support multiple Python versions on Windows

2023-10-16 Thread Leonard de Ruijter
then NVDA is good to go. Cheers, Leonard On 16-10-2023 17:56, Dave Mielke wrote: [quoted lines by Leonard de Ruijter on 2023/10/16 at 17:29 +0200] Hmm, that's an interesting issue with building for Python. Aren't you getting that error without the patch from PR 432? Yes, PR 432 has n

Re: [BRLTTY] Can't get brltty to build, was Re: Support multiple Python versions on Windows

2023-10-16 Thread Leonard de Ruijter
error: ld returned 1 exit status Cheers, Leonard On 16-10-2023 13:02, Dave Mielke wrote: [quoted lines by Leonard de Ruijter on 2023/10/16 at 10:40 +0200] I have created a Windows 10 virtual machine but I'm getting the same issues there. Which issues? PR 432 (including winerror.h) is merge

Re: [BRLTTY] Can't get brltty to build, was Re: Support multiple Python versions on Windows

2023-10-16 Thread Leonard de Ruijter
Hi Dave, I have created a Windows 10 virtual machine but I'm getting the same issues there. I wonder, may be the culprit is the version of the Visual Studio Build tools. I have 2022 installed here. Cheers, Leonard On 13-10-2023 13:52, Dave Mielke wrote: [quoted lines by Leona

Re: [BRLTTY] Support multiple Python versions on Windows

2023-10-16 Thread Leonard de Ruijter
Hi Samuel, I'm not sure whether the current implementation is enough. You added CYTHON_LIMITED_API, but it looks like you might also need to add Py_LIMITED_API. Cheers, Leonard On 15-10-2023 16:37, Samuel Thibault wrote: Hello, Leonard de Ruijter, le lun. 09 oct. 2023 19:50:39 +02

Re: [BRLTTY] Support multiple Python versions on Windows

2023-10-09 Thread Leonard de Ruijter
Unfortunately, I can't get the thing to load on Python 3.11-32. I'm getting the error: `ImportError: DLL load failed while importing brlapi: The specified module could not be found.` On 9-10-2023 09:28, Dave Mielke wrote: [quoted lines by Leonard de Ruijter on 2023/10/09 at 0

Re: [BRLTTY] Support multiple Python versions on Windows

2023-10-09 Thread Leonard de Ruijter
and out of date nowadays. I'm getting errors about windows error constants that could not be found. Cheers, Leonard On 09/10/2023 09:28, Dave Mielke wrote: [quoted lines by Leonard de Ruijter on 2023/10/09 at 07:56 +0200] Would it be possible to provide a test build of the python bi

Re: [BRLTTY] Support multiple Python versions on Windows

2023-10-08 Thread Leonard de Ruijter
Hi Samuel, Thanks a lot for looking. Would it be possible to provide a test build of the python bindings based on this pr? Cheers, Leonard On 08/10/2023 21:26, Samuel Thibault wrote: Hello, Samuel Thibault, le jeu. 28 sept. 2023 01:28:01 +0200, a ecrit: Samuel Thibault, le jeu. 28 sept.

[BRLTTY] Can't get brltty to build, was Re: Support multiple Python versions on Windows

2023-09-28 Thread Leonard de Ruijter
all pretty old, so I'm pretty sure i'm doing something ridiculously wrong here. Any help most appreciated! Regards, Leonard On 28-9-2023 01:28, Samuel Thibault wrote: Samuel Thibault, le jeu. 28 sept. 2023 01:26:57 +0200, a ecrit: Leonard de Ruijter, le mer. 27 sept. 2023 19:51:10 +0200,

Re: [BRLTTY] Support multiple Python versions on Windows

2023-09-27 Thread Leonard de Ruijter
nment Dave uses for release builds. Cheers, Leoanrd On 28/09/2023 01:28, Samuel Thibault wrote: Samuel Thibault, le jeu. 28 sept. 2023 01:26:57 +0200, a ecrit: Leonard de Ruijter, le mer. 27 sept. 2023 19:51:10 +0200, a ecrit: Python has something like the stable application binary Inte

Re: [BRLTTY] Support multiple Python versions on Windows

2023-09-27 Thread Leonard de Ruijter
n X64 builds of either cygwin or MinGW perfectly create X86 modules? Cheers, Leonard On 27-9-2023 22:38, Dave Mielke wrote: [quoted lines by Leonard de Ruijter on 2023/09/27 at 19:51 +0200] The NVDA project is currently in the process of upgrading Python to version 3.11. I recall that wh

[BRLTTY] Support multiple Python versions on Windows

2023-09-27 Thread Leonard de Ruijter
Hello all, particularly Samuel, The NVDA project is currently in the process of upgrading Python to version 3.11. I recall that when we updated to Python 3.7 3 years ago, I had to create a brlapi python extension manually, as the python version bundled in the Windows packages didn't match Pyt

Re: [BRLTTY] Building BRLTTY Python bindings on Windows

2019-06-11 Thread Leonard de Ruijter
Dear users and developers, Given recent activity on this list, would anyone be able to respond to my query below regarding building the brlapi python bindings on Windows? Thanks in advance for any help. Kind regards, Leonard de Ruijter Op 4-6-2019 om 15:52 schreef Leonard de Ruijter

[BRLTTY] Building BRLTTY Python bindings on Windows

2019-06-04 Thread Leonard de Ruijter
would be the best way to build Python 3.7 bindings on Windows, without too much hazard? Unfortunately, Windows documentation is pretty limited. If there could be an official build for Python 3.7 from the BRLTTY project itself, that would be awesome. Kind regards, Leonard de Ru