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

Allow installing pip modules (requirements.txt) from repo #111

Closed
ibotty opened this issue Oct 20, 2021 · 2 comments
Closed

Allow installing pip modules (requirements.txt) from repo #111

ibotty opened this issue Oct 20, 2021 · 2 comments

Comments

@ibotty
Copy link

ibotty commented Oct 20, 2021

Description / Summary

It would be great if sphinx-autobuild could install modules from requirements.txt automatically and when the file changes.

Value / benefit

I am offering development-containers running in a cloud for people writing documentation. Apart from the known issues it works great. But installing sphinx modules via pip is not as easy for them.

Implementation details

No response

Tasks to complete

No response

@welcome
Copy link

welcome bot commented Oct 20, 2021

Thanks for opening your first issue here! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.

If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).

Welcome to the EBP community! 🎉

@pradyunsg
Copy link
Collaborator

You can do this with a pre-build command. This is done by passing --pre-build to sphinx-autobuild.

sphinx-autobuild --pre-build "path/to/venv/bin/pip install magic" ...

@pradyunsg pradyunsg closed this as not planned Won't fix, can't repro, duplicate, stale Jun 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants