mcnptools icon indicating copy to clipboard operation
mcnptools copied to clipboard

Python Builds broken using virtualenv on Windows

Open abnowack opened this issue 7 months ago • 3 comments

-- Up-to-date: H:/Programs/mcnptools/bin/l3dinfo.exe -- Up-to-date: H:/Programs/mcnptools/bin/l3dscale.exe -- Up-to-date: H:/Programs/mcnptools/bin/mergemctals.exe -- Up-to-date: H:/Programs/mcnptools/bin/mergemeshtals.exe -- Up-to-date: H:/Programs/mcnptools/bin/meshtal2vtk.exe ERROR: Directory 'H:/builds/mcnptools/python' is not installable. Neither 'setup.py' nor 'pyproject.toml' found. -- Up-to-date: H:/Programs/mcnptools/lib/mcnptools.lib -- Up-to-date: H:/Programs/mcnptools/share/cmake/mcnptools/mcnptools-config.cmake -- Up-to-date: H:/Programs/mcnptools/share/cmake/mcnptools/mcnptools-config-release.cmake -- Up-to-date: H:/Programs/mcnptools/share/cmake/mcnptools/mcnptools-config-version.cmake

Following all of the steps listed on the README / manual, everything builds and installs except for the Python bindings. with the above error.

My build system

  • Windows 11
  • python 3.12.4
  • virtualenv environment
  • cmake 3.29.0
  • msvc 19.0

I'll switch to conda, but since virtualenv is my preferred setup getting that working would be great.

I'd be curious if anyone has this working, or had to do any workarounds.

abnowack avatar Jul 23 '24 21:07 abnowack