Skip to content

Upgrade only MSVC to the real std::filesystem#4

Open
PhoenixBound wants to merge 1 commit into
pk-hack:masterfrom
PhoenixBound:vs-only-filesystem
Open

Upgrade only MSVC to the real std::filesystem#4
PhoenixBound wants to merge 1 commit into
pk-hack:masterfrom
PhoenixBound:vs-only-filesystem

Conversation

@PhoenixBound

Copy link
Copy Markdown

This leaves Unix-like operating systems alone, as a more minimal alternative to #3. Despite saying it's "more minimal," I did still include the setup.py changes from that pull request, though, because those were made to allow adding MSVC-exclusive compiler flags.

I tested building it standalone and as a Python package using Visual Studio 2022, and ran the test program for the standalone build, and everything seems to work. For compiling with Python, I used the latest version of setuptools as of writing (83.0). I also made sure that the build still worked on my Debian laptop with Python 3.13.5.

This should hopefully fix the build on Visual Studio 2026, from the Python side at least. I don't have VS 2026 installed to test that directly.

This leaves Unix-like operating systems alone, as a more minimal
alternative to the other PR I made.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant