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

Fix install path cmake #189

Merged
merged 10 commits into from
Dec 17, 2024
Merged

Fix install path cmake #189

merged 10 commits into from
Dec 17, 2024

Conversation

inakleinbottle
Copy link
Contributor

Fixed a couple of CMake errors that prevented the install step working in the wheel building.

Also fixed a couple of small issues in the actions.

The install script was updated to correct the relative path of the py.typed file. This ensures the file is properly included in the installation process, aligning with project requirements.
Included Libalgebra_lite in the list of linked libraries in CMakeLists.txt to support necessary algebraic computations. This ensures proper functionality and integration with the project's requirements.
The Python source files are now installed in the correct `roughpy` directory instead of the project root. This ensures proper package structure and resolves issues with module imports.
Moved Python module installation logic from `roughpy/CMakeLists.txt` to the main `CMakeLists.txt` for better organization and clarity. This ensures all installation steps are consolidated and improves maintainability of the build configuration.
Updated the path for the py.typed file to include the correct directory, ensuring proper installation. This resolves potential issues with type hinting in package deployments.
Adjusted the install command to ensure `py.typed` is included correctly by matching patterns. This change ensures proper packaging of Python-related files while excluding unnecessary source directories.
Upgraded Windows runner to windows-2022 and added missing setup steps for Windows builds, including msbuild, ninja, and pkgconfig. Standardized CMake generator to "Ninja" across workflows for consistency. Removed redundant "use ninja" step in tests.yml for cleanup.
Cleaned up unnecessary blank lines in the GitHub Actions workflow file. This improves readability and maintains consistency in the file structure.
Boost-stacktrace was unnecessary and has been removed to streamline the dependency list. This change reduces potential overhead and improves maintainability.
Simplified the script by removing OS-specific dependency installations and unused Mono setup. Updated `vcpkg` cloning to target the `tools/vcpkg` directory and streamlined the bootstrap process. Unused and commented-out token-based binary caching logic was also removed.
@inakleinbottle inakleinbottle merged commit a742cec into main Dec 17, 2024
3 checks passed
@inakleinbottle inakleinbottle deleted the fix-install-path-cmake branch December 17, 2024 13:10
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