Closed betatim closed 5 years ago
@betatim does binder ignore the setup.py if you have postBuild
?
No.
setup.py
is like any other file recognised by repo2docker in that it can work together with other files. The way to ignore setup.py
is to create a binder/
directory. The idea is to allow repositories that represent a Python package to "just work" with repo2docker and allow the authors of the repo to override the default behaviour by adding a binder/
directory that does what they want to do (for example install the latest released version or add additional dependencies needed for examples/tutorials).
@betatim I don't have merge rights on many Repos. If I perform the merge and do so via a merge-commit, will you be credited? If not, is it good etiquette to allow the author to merge their own pull requests?
If you press the big green button at the bottom of the PR page labelled "Merge pull request" things will work out as they should. You don't have to make any choice in the drop down menu associated with the button.
Binder now runs
pip install .
automatically when there is a setup.py