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

Pip prototype #392

Merged
merged 9 commits into from
Jun 26, 2023
Merged

Pip prototype #392

merged 9 commits into from
Jun 26, 2023

Conversation

mvlopri
Copy link
Collaborator

@mvlopri mvlopri commented Jun 22, 2023

No description provided.

exodus.py only needed the version from the exodusII.h file.
This removes the dependency on the location to make a pip
workflow easier due to the lack of knowledge of where header
files go by setuptools.

It now places the version into exodus.py at CMake configuration
time with a regex and parses that string in Python.

Add tests for the new method of obtaining the version.
libexodus.so.

Change the exodusII.h find method in cmake to be usable without
installing first.
Due to the exodus3.in.py needing cmake variable replacement and
to be moved before the setup.py is run, it is needed to call
the configure before the instanciation of setup. However,
because the congfigure needs variables to be set during build
time it needs to be called again to make sure the libraries
are placed in the correct place for pick up by the package.py
The setup.py now generates a relocatable binary wheel using
auditwheel and patchelf. They are currently installing from
PyPI.
@gsjaardema gsjaardema merged commit 397fd3e into sandialabs:master Jun 26, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Jun 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants