Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to Hatch #190

Open
ZeroIntensity opened this issue Jun 23, 2024 · 0 comments
Open

Switch to Hatch #190

ZeroIntensity opened this issue Jun 23, 2024 · 0 comments
Assignees
Labels
improvement Improvement to an existing feature repo This has to do with the repository (CI, tests, etc)
Milestone

Comments

@ZeroIntensity
Copy link
Owner

Description:

view.py currently uses setuptools for it's build process. This works fine, but there are newer tools nowadays that have some extra benefits. Specifically, view.py will be switching to Hatch.

In the very early stages of view.py, Hatch was actually used as the build system, with a custom build hook that used setuptools._distutils.ccompiler for compiling the extension module. Unfortunately, it didn't work on other systems, so we switched over to setuptools before the initial alpha release. Now, Hatch has support for extension modules through a scikit-build-core plugin. Unfortunately, this means I have to use CMake for the build system (which is a confusing format, to say the least), but I can probably find some prebuilt configuration for it online that covers our needs - it's worth it for the benefits of Hatch.

@ZeroIntensity ZeroIntensity added improvement Improvement to an existing feature repo This has to do with the repository (CI, tests, etc) labels Jun 23, 2024
@ZeroIntensity ZeroIntensity added this to the Beta Release milestone Jun 23, 2024
@ZeroIntensity ZeroIntensity self-assigned this Jun 23, 2024
ZeroIntensity added a commit that referenced this issue Jul 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improvement to an existing feature repo This has to do with the repository (CI, tests, etc)
Projects
None yet
Development

No branches or pull requests

1 participant