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

Make this repo pip-installable #6

Open
2 tasks
tbekolay opened this issue Oct 27, 2016 · 0 comments
Open
2 tasks

Make this repo pip-installable #6

tbekolay opened this issue Oct 27, 2016 · 0 comments

Comments

@tbekolay
Copy link
Member

This requires organizing the files under a good root with an __init__.py, and writing a setup.py.

A few things that need to be hashed out before that can be done:

  • How do we deal with extra dependencies some examples might have?
  • How do we deal with different filetypes? .ipynb I'm looking at you.

Some thought to kick off the discussion...

For the first point, we should definitely have nengo and nengo_gui as requirements in setup.py, but probably only those two. For examples that use other packages (nengo_spinnaker, etc), we should have some helper functions in this repo to check if certain things are installed and give helpful messages if they're not.

For the second point, I think for the time being we just make sure to include them in MANIFEST.in so that they show up when the repo is pip installed. In the future, it would be nice to include some helper functions or something that can run .ipynb files or that can load up the GUI with the given .py file etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant