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

Build custom wheels from specific OpenCV commits #173

Closed
iindovina opened this issue Feb 15, 2019 · 1 comment
Closed

Build custom wheels from specific OpenCV commits #173

iindovina opened this issue Feb 15, 2019 · 1 comment

Comments

@iindovina
Copy link

Hi,
Thanks for all the effort you have put in this project, it is really amazing.
I wanted to build custom Linux wheels for a specifc development branch of OpenCV, but I can't seem to find instructions or steps on how to build or run things in your repository. I would probably be interested in using the dockerfiles you provide so I can build different versions, but I am not too familiar with it.
Could you please give me a hint on how to do it?

Thanks

@skvark
Copy link
Member

skvark commented Feb 17, 2019

The setup.py has not been designed to run locally (see #43), but local builds should be doable if you run similar steps as in the Docker containers (https://quay.io/repository/skvark/manylinux1_x86_64). Check .travis.yml (before_install and install).

If you do not need manylinux1 (universally GNU/Linux compatible) wheels, then you can just try to to run setup.py bdist_wheel on your Linux machine. In this case you will have to modify the setup.py file a bit since currently it's assumed that the build is run in the custom containers.

To use a specific commit or branch, just checkout the desired branch or commit in the opencv and opencv_contrib submodules.

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

No branches or pull requests

2 participants