Hello,
I'm afraid I have another problem (still seemingly windows related). I have
been updating to use the pyproject.toml build system (as well as making my
bundle depend on chimerax.clipper for most of my precompiled
libraries etc). As usual, it builds fine on mac but doesn't on windows,
however I'm having hard time figuring out why. I'm building from within
ChimeraX 1.11.1 (previously I was using 1.10.1 but the chimerax.clipper
version I need requires 1.11.1).
It seems to get through most of the stages, copying over files etc to the
build folder, but then fails with the error message:
> running build_ext
> Traceback (most recent call last):
> File "C:\Users\lah583\AppData\Local\Programs\ChimeraX
1.11.1\bin\Lib\site-packages\chimerax\core\commands\devel.py", line 180, in
_run
unbound_method(bb, *args, **kw)
> File "C:\Users\lah583\AppData\Local\Programs\ChimeraX
1.11.1\bin\Lib\site-packages\chimerax\bundle_builder\bundle_builder_toml.py",
line 572, in make_install
> wheel = self.build_wheel()
> ^^^^^^^^^^^^^^^^^^
> File "C:\Users\lah583\AppData\Local\Programs\ChimeraX
1.11.1\bin\Lib\site-packages\chimerax\bundle_builder\bundle_builder_toml.py",
line 878, in build_wheel
> self.version = dist.get_version()
> ^^^^^^^^^^^^^^^^
> AttributeError: 'NoneType' object has no attribute 'get_version'
My guess would be that _run_setup() is failing, but the problem I'm having
is that, unlike when building from bundle_builder.py where run_setup prints
any exceptions, when using the .toml system it doesn't seem to tell me what
went wrong. I just know that it clearly failed to produce dist from the
fact that dist is still NoneType.
Apologies if I'm missing something obvious in terms of how to run it in
debug mode. I've been running ChimeraX - Console (1.11.1) as I can't see a
ChimeraX - Debug for 1.11.1.
Best wishes,
Lou Holland
(Pronouns: they/them)
Research Associate
York Structural Biology Laboratory,
Department of Chemistry,
University of York,
Heslington, YO10 5DD,
York, UK