/setup.py

Primary LanguagePythonMIT LicenseMIT

python package with setup.py

Binder

A Binder-compatible repo with a python package and a setup.py file.

Notes

It is convenient to provide an example Jupyter notebook for a new package and add the hooks necessary to run the example with Binder. However, normally the package will not be included in the python path. To do that, one needs a setup.py for the package (see binder docs). Once this is done, it is possible to import the package in a notebook running within Binder.

This setup.py was originally adapted from https://github.com/kennethreitz/setup.py by @cranmer