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

Idea for testing: by default, read imports directly from notebook and populate requirements #13

Open
adrn opened this issue Dec 12, 2019 · 0 comments

Comments

@adrn
Copy link
Contributor

adrn commented Dec 12, 2019

For astropy-tutorials, we want to enable users to set up their environment to run a single notebook without installing packages/requirements needed for all notebooks in the repo. Right now, we have solved this by putting individual requirements.txt files along side each notebook tutorial. However, for most cases, we should be able to automatically figure out what the dependencies are for a given notebook by finding all import statements. We could then auto-generate a global requirements.txt file, and individual requirements.txt files for each notebook. Do you have any thoughts about this?

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

1 participant