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

call the builder.py script from the setup script #21

Closed
wants to merge 2 commits into from

Conversation

jdkloe
Copy link

@jdkloe jdkloe commented Mar 19, 2020

This will automatically build the fast cffi based bindings.
An additional advantage is that the python module gets installed below /usr/lib64/python3.x/site-packages/ now and no longer below /usr/lib/python3.x/site-packages/
When manually calling the builder.py script after having done a "setup.py build", and then adding it to the build directory, and calling "setup.py install", the module ends up below /usr/lib.
This is especially important when packaging the module for a linux distribution (as I am trying to do now for Fedora), since there are strict guidelines where binary python packages need to be installed.

In case you do not wish to have a call to this builder.py script in a default install, please consider adding it as an option to the setup.py script, so it can be enabled if needed.

@jdkloe
Copy link
Author

jdkloe commented Mar 19, 2020

Note that the travis build fails because eccodes is not installed in that environment.
My local install in which I do have eccodes installed runs just fine.

@FussyDuck
Copy link

FussyDuck commented Jul 28, 2020

CLA assistant check
All committers have signed the CLA.

@shahramn
Copy link
Collaborator

This PR breaks the Travis CI build. So cannot be merged

@shahramn shahramn closed this Sep 21, 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.

None yet

3 participants