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

use setup.py #21

Merged
merged 7 commits into from
Jun 16, 2020
Merged

use setup.py #21

merged 7 commits into from
Jun 16, 2020

Conversation

joanibal
Copy link
Collaborator

Purpose

Change the structure of the repo to use the setup.py method of installation.
This will make it easier to install environment specific packages and specify dependencies.

One can install the repo now by doing
make (if applicable) and pip install .

Type of change

  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no API changes)

Checklist

  • I have run unit and regression tests which pass locally with my changes

@joanibal joanibal requested a review from a team as a code owner June 12, 2020 14:18
@joanibal joanibal requested review from SichengHe, Xiaosong2105, ewu63 and eirikurj and removed request for SichengHe and Xiaosong2105 June 12, 2020 14:18
Copy link
Collaborator

@ewu63 ewu63 left a comment

Choose a reason for hiding this comment

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

in src_cs/f2py/Makefile there is a line which copies the idwarp_cs.so file to the python directory. This also needs to be changed similar to what you did for the real Makefile.

'idwarp': ['*.so']
},
install_requires=[
'numpy>=1.16.4',
Copy link
Collaborator

Choose a reason for hiding this comment

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

also requires mpi4py

@eirikurj eirikurj merged commit 7892630 into mdolab:master Jun 16, 2020
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.

3 participants