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

Clean build setup #142

Merged
merged 2 commits into from
Jan 8, 2021
Merged

Conversation

bnavigator
Copy link
Collaborator

@bnavigator bnavigator commented Jan 8, 2021

It turns out that some of the code in setup.py and the CMake files is no longer needed. Not even for Windows. (#140 is not ready yet, but it builds on this one and I already had successful Windows builds which also passed the unit tests.)

Dropped Python 2 and Python 3.5 support

@bnavigator bnavigator mentioned this pull request Jan 8, 2021
Copy link
Collaborator

@roryyorke roryyorke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @bnavigator , looks good.

find_package(BLAS REQUIRED)
find_package(LAPACK REQUIRED)

message(STATUS "NumPy: ${NumPy_INCLUDE_DIR}")
message(STATUS "NumPy included from: ${NumPy_INCLUDE_DIR}")
message(STATUS "F2PY included from: ${F2PY_INCLUDE_DIR}")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

F2PY_INCLUDE_DIR isn't documented as being set (see https://github.com/scikit-build/scikit-build/blob/c0741f9a1de9dd97e0a1e6f0b3b02fcd76221418/skbuild/resources/cmake/FindF2PY.cmake). This is possibly just an oversight in the docs.

@bnavigator bnavigator merged commit 723ff0b into python-control:master Jan 8, 2021
@bnavigator bnavigator deleted the clean-setup-cmake branch May 3, 2022 19:07
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.

2 participants