Giter Club home page Giter Club logo

Comments (3)

freeman-lab avatar freeman-lab commented on July 30, 2024

Thanks for your interest @show0k ! Using Binders as examples for your code is a great use case! Often we've done this with repos that are in PyPi, so hadn't run into this.

We could definitely look at adding support for a setup.py, what do you think @andrewosh ? The other option is to use requirements.txt and just list your requirements as packages to be installed from git. The syntax looks like pip install git+git://... read here for more:

https://pip.pypa.io/en/latest/reference/pip_install/#vcs-support

Maybe give that a try and let us know how it goes? One advantage of that approach is that it lets you combine a dependency on your own library with other libraries that might be used in your notebooks (but are not necessarily requirements of your library itself).

from binder.

nthiery avatar nthiery commented on July 30, 2024

I just stumbled on this issue after having created binder-project/binder-docs#5.
A trick that worked for me is to put a trivial requirements.txt file containing:

-e .

If this is confirmed as a proper way to go, I guess documenting this trick -- or any variant -- is good enough to close this issue.

from binder.

show0k avatar show0k commented on July 30, 2024

Thanks !
I'm closing the issue.

from binder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.